Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
Data Fields
rb_io_t::rb_io_enc_t 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 144 of file io.h.

Field Documentation

◆ ecflags

int rb_io_t::rb_io_enc_t::ecflags

Flags.

See also
enum ruby_econv_flag_type

Definition at line 156 of file io.h.

◆ ecopts

VALUE rb_io_t::rb_io_enc_t::ecopts

Flags as Ruby hash.

Definition at line 165 of file io.h.

◆ enc

rb_encoding* rb_io_t::rb_io_enc_t::enc

Internal encoding.

Definition at line 146 of file io.h.

◆ enc2

rb_encoding* rb_io_t::rb_io_enc_t::enc2

External encoding.

Definition at line 149 of file io.h.


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