Module unsigned_varint::encode
source · [−]Expand description
Basic unsigned-varint encoding.
Functions
Encode the given u8
into the given byte array.
Create new array buffer for encoding of u8
values.
Encode the given u16
into the given byte array.
Create new array buffer for encoding of u16
values.
Encode the given u32
into the given byte array.
Create new array buffer for encoding of u32
values.
Encode the given u64
into the given byte array.
Create new array buffer for encoding of u64
values.
Encode the given u128
into the given byte array.
Create new array buffer for encoding of u128
values.
Encode the given usize
into the given byte array.
Create new array buffer for encoding of usize
values.