Ruby  3.4.0dev (2024-11-22 revision 0989400a925cd201defdca9eb28eb87200b30785)
Data Fields
rb_io_encoding Struct Reference

Decomposed encoding flags (e.g. More...

#include <io.h>

Data Fields

rb_encodingenc
 Internal encoding. More...
 
rb_encodingenc2
 External encoding. More...
 
int ecflags
 Flags. More...
 
VALUE ecopts
 Flags as Ruby hash. More...
 

Detailed Description

Decomposed encoding flags (e.g.

"enc:enc2"").

Definition at line 119 of file io.h.

Field Documentation

◆ ecflags

int rb_io_encoding::ecflags

Flags.

See also
enum ruby_econv_flag_type

Definition at line 129 of file io.h.

Referenced by rb_io_extract_modeenc().

◆ ecopts

VALUE rb_io_encoding::ecopts

Flags as Ruby hash.

Definition at line 137 of file io.h.

Referenced by rb_io_extract_modeenc().

◆ enc

rb_encoding* rb_io_encoding::enc

Internal encoding.

Definition at line 121 of file io.h.

Referenced by rb_io_extract_modeenc().

◆ enc2

rb_encoding* rb_io_encoding::enc2

External encoding.

Definition at line 123 of file io.h.

Referenced by rb_io_extract_modeenc().


The documentation for this struct was generated from the following file: