Ruby 3.5.0dev (2025-06-07 revision 20cf46039a90135b3d9efceabc73b0d41ad257b8)
Data Fields
rb_io_encoding Struct Reference

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

#include <io.h>

Data Fields

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

Detailed Description

Decomposed encoding flags (e.g.

"enc:enc2"").

Definition at line 134 of file io.h.

Field Documentation

◆ ecflags

int rb_io_encoding::ecflags

Flags.

See also
enum ruby_econv_flag_type

Definition at line 144 of file io.h.

Referenced by rb_io_extract_modeenc().

◆ ecopts

VALUE rb_io_encoding::ecopts

Flags as Ruby hash.

Definition at line 152 of file io.h.

Referenced by rb_io_extract_modeenc().

◆ enc

rb_encoding* rb_io_encoding::enc

Internal encoding.

Definition at line 136 of file io.h.

Referenced by rb_io_extract_modeenc().

◆ enc2

rb_encoding* rb_io_encoding::enc2

External encoding.

Definition at line 138 of file io.h.

Referenced by rb_io_extract_modeenc().


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