Module compact

Source
Available on crate feature arbitrary only.

Constants§

GENERATE_VECTORS
READ_VECTORS
VECTORS_FOLDER
VECTOR_SIZE

Statics§

IDENTIFIER_TYPE

Functions§

generate_vector
Generates test vectors for a specific type T.
generate_vectors
Generates a vector of type T to a file.
generate_vectors_with
Generates a vector of type T to a file.
read_vector
Reads a vector of type T from a file and compares each item with its reconstructed version using T::from_compact.
read_vectors
read_vectors_with
Reads multiple vectors of different types ensuring their correctness by decoding and re-encoding.
type_name