StructsΒ§
- Index16
- This is a
VarZeroVecFormat
that stores u16s in the index array. Will have a smaller data size, but itβs more likely for larger arrays to be unrepresentable (and error on construction) - Index32
- This is a
VarZeroVecFormat
that stores u32s in the index array. Will have a larger data size, but will support large arrays without problems. - VarZero
VecComponents - A more parsed version of
VarZeroSlice
. This type is where most of the VarZeroVec internal representation code lies.
ConstantsΒ§
- LENGTH_
WIDTH π - MAX_
INDEX π - MAX_
LENGTH π - METADATA_
WIDTH π
TraitsΒ§
- VarZero
VecFormat - This trait allows switching between different possible internal representations of VarZeroVec.
FunctionsΒ§
- compute_
serializable_ len - get_
serializable_ bytes_ non_ empty - Collects the bytes for a VarZeroSlice into a Vec.
- write_
serializable_ bytes - Writes the bytes for a VarZeroSlice into an output buffer.