Functions

Generates a bits parser reading a i16 over n bits.

Generates a bits parser reading a i32 over n bits.

Generates a bits parser reading a u16 over n bits.

Generates a bits parser reading a u32 over n bits.

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 the bit-encoded representation of a bool (1 bit)

Parse a null-terminated sequence of bytes. The nul-byte is consumed but not included in the result.

Parse the bit-encoded big-endian representation of a signed fixed-point 8.8-bit number

Parse the bit-encoded big-endian representation of a signed fixed-point 16.16-bit number

Parse the bit-encoded big-endian representation of a signed 16-bit integer

Parse the little-endian representation of a signed fixed-point 8.8-bit number

Parse the little-endian representation of a signed fixed-point 16.16-bit number

Parse the little-endian representation of an unsigned fixed-point 8.8-bit number

Parse the variable-length encoded little-endian representation of an unsigned 32-bit integer

Parse the bit-encoded big-endian representation of an unsigned 16-bit integer

Skip n bits