Module basic_data_types

Source

Functionsยง

do_parse_i16_bits
Generates a bits parser reading a i16 over n bits.
do_parse_i32_bits
Generates a bits parser reading a i32 over n bits.
do_parse_u16_bits
Generates a bits parser reading a u16 over n bits.
do_parse_u32_bits
Generates a bits parser reading a u32 over n bits.
parse_be_f16
parse_block_c_string
Parse a sequence of bytes up to the end of input or first nul-byte. If there is a nul-byte, it is consumed but not included in the result.
parse_bool_bits
Parse the bit-encoded representation of a bool (1 bit)
parse_c_string
Parse a null-terminated sequence of bytes. The nul-byte is consumed but not included in the result.
parse_color_transform
parse_color_transform_bits
parse_color_transform_with_alpha
parse_color_transform_with_alpha_bits
parse_fixed8_p8_bits
Parse the bit-encoded big-endian representation of a signed fixed-point 8.8-bit number
parse_fixed16_p16_bits
Parse the bit-encoded big-endian representation of a signed fixed-point 16.16-bit number
parse_i16_bits
Parse the bit-encoded big-endian representation of a signed 16-bit integer
parse_i32_bits
parse_language_code
parse_le_f16
parse_le_fixed8_p8
Parse the little-endian representation of a signed fixed-point 8.8-bit number
parse_le_fixed16_p16
Parse the little-endian representation of a signed fixed-point 16.16-bit number
parse_le_ufixed8_p8
Parse the little-endian representation of an unsigned fixed-point 8.8-bit number
parse_leb128_u32
Parse the variable-length encoded little-endian representation of an unsigned 32-bit integer
parse_matrix
parse_matrix_bits
parse_named_id
parse_rect
parse_rect_bits
parse_s_rgb8
parse_straight_s_rgba8
parse_u16_bits
Parse the bit-encoded big-endian representation of an unsigned 16-bit integer
parse_u32_bits
skip_bits
Skip n bits