Crate summavy_common

Source

Modules§

file_slice

Structs§

AntiCallToken
Struct used to prevent from calling terminate_ref directly
BitSet
CountingWriter
OwnedBytes
An OwnedBytes simply wraps an object that owns a slice of data and exposes this data as a slice.
ReadOnlyBitSet
Serialized BitSet.
TinySet
TinySetIterator
VInt
Wrapper over a u64 that serializes as a variable int.
VIntU128
Wrapper over a u128 that serializes as a variable int.

Enums§

Endianness
Defines little-endian serialization.

Traits§

BinarySerializable
Trait for a simple binary serialization.
DeserializeFrom
FixedSize
FixedSize marks a BinarySerializable as always serializing to the same size.
GroupByIteratorExtended
HasLen
Has length trait
StableDeref
An unsafe marker trait for types that deref to a stable address, even when moved. For example, this is implemented by Box, Vec, Rc, Arc and String, among others. Even when a Box is moved, the underlying storage remains at a fixed location.
TerminatingWrite
Trait used to indicate when no more write need to be done on a writer

Functions§

deserialize_vint_u128
Deserializes a u128 number
f64_to_u64
Maps a f64 to u64
i64_to_u64
Maps a i64 to u64
intersect_bitsets
read_u32_vint
Reads a vint u32 from a buffer, and consumes its payload data.
read_u32_vint_no_advance
serialize_vint_u32
serialize_vint_u128
Variable int serializes a u128 number
u64_to_f64
Reverse the mapping given by f64_to_u64().
u64_to_i64
Reverse the mapping given by i64_to_u64().
write_u32_vint
Write a u32 as a vint payload.