Module newpfd_bitvec

Module newpfd_bitvec 

Source
Expand description

NewPFD with bitvec backend (instead of the old, bit_vec crate)

Functions§

decode
Decode a NewPFD-encoded buffer, containing n_elements. Due to limitations of the format, we can’t know (internally) how many elements were stored, hence n_elements needs to be specified
decode_fast_u8
Decode a NewPFD-encoded buffer, containing n_elements. Uses a FastFibonacci<u8> Decoder in the background. See decode.
decode_fast_u16
Decode a NewPFD-encoded buffer, containing n_elements. Uses a FastFibonacci<u16> Decoder in the background. See decode.
decode_normal
Decode a NewPFD-encoded buffer, containing n_elements. Alias for decode, see its documentation
encode
encode data using NewPFD,