rustc_
serialize
1.84.0-beta.4
(202008a1b 2024-12-07)
Module leb128
Module Items
Macros
Functions
In crate rustc_
serialize
rustc_serialize
Module
leb128
Copy item path
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