Module leb128
rustc_
serialize
1.83.0-dev
Module leb128
Module Items
Macros
Functions
In crate rustc_
serialize
Modules
int_overflow
leb128
opaque
serialize
Traits
Decodable
Decoder
Encodable
Encoder
rustc_serialize
Module
leb128
Copy item path
Settings
Help
Summary
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