Crate summavy_common
source ·Structs
Struct used to prevent from calling
terminate_ref directlySerialized BitSet.
Wrapper over a
u64 that serializes as a variable int.Wrapper over a
u128 that serializes as a variable int.Enums
Defines little-endian serialization.
Traits
Trait for a simple binary serialization.
FixedSize marks a BinarySerializable as
always serializing to the same size.Has length trait
Trait used to indicate when no more write need to be done on a writer
Functions
Deserializes a u128 number
Maps a
f64 to u64Maps a
i64 to u64Reads a vint
u32 from a buffer, and
consumes its payload data.Variable int serializes a u128 number
Reverse the mapping given by
f64_to_u64().Reverse the mapping given by
i64_to_u64().Write a
u32 as a vint payload.