Module leb128

Source

Macrosยง

impl_read_signed_leb128 ๐Ÿ”’
impl_read_unsigned_leb128 ๐Ÿ”’
impl_write_signed_leb128 ๐Ÿ”’
impl_write_unsigned_leb128 ๐Ÿ”’

Functionsยง

largest_max_leb128_len
Returns the length of the longest LEB128 encoding of all supported integer types.
max_leb128_len
Returns the length of the longest LEB128 encoding for T, assuming T is an integer type
read_i16_leb128
read_i32_leb128
read_i64_leb128
read_i128_leb128
read_isize_leb128
read_u16_leb128
read_u32_leb128
read_u64_leb128
read_u128_leb128
read_usize_leb128
write_i16_leb128
write_i32_leb128
write_i64_leb128
write_i128_leb128
write_isize_leb128
write_u16_leb128
write_u32_leb128
write_u64_leb128
write_u128_leb128
write_usize_leb128