Libparserutils
charset_ascii_codec Struct Reference

US-ASCII charset codec. More...

Data Fields

parserutils_charset_codec base
 Base class.
 
uint32_t read_buf [READ_BUFSIZE]
 Buffer for partial output sequences (decode) (host-endian)
 
size_t read_len
 Character length of read_buf.
 
uint32_t write_buf [WRITE_BUFSIZE]
 Buffer for partial output sequences (encode) (host-endian)
 
size_t write_len
 Character length of write_buf.
 

Detailed Description

US-ASCII charset codec.

Definition at line 21 of file codec_ascii.c.

Field Documentation

◆ base

parserutils_charset_codec charset_ascii_codec::base

Base class.

Definition at line 22 of file codec_ascii.c.

Referenced by charset_ascii_codec_create(), charset_ascii_codec_read_char(), and charset_ascii_from_ucs4().

◆ read_buf

uint32_t charset_ascii_codec::read_buf[READ_BUFSIZE]

Buffer for partial output sequences (decode) (host-endian)

Definition at line 25 of file codec_ascii.c.

Referenced by charset_ascii_codec_create(), charset_ascii_codec_decode(), charset_ascii_codec_output_decoded_char(), and charset_ascii_codec_reset().

◆ read_len

size_t charset_ascii_codec::read_len

◆ write_buf

uint32_t charset_ascii_codec::write_buf[WRITE_BUFSIZE]

Buffer for partial output sequences (encode) (host-endian)

Definition at line 31 of file codec_ascii.c.

Referenced by charset_ascii_codec_create(), charset_ascii_codec_encode(), and charset_ascii_codec_reset().

◆ write_len

size_t charset_ascii_codec::write_len

Character length of write_buf.

Definition at line 34 of file codec_ascii.c.

Referenced by charset_ascii_codec_create(), charset_ascii_codec_encode(), and charset_ascii_codec_reset().


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