Crate simple_16

Source

Structs§

ValueOutOfRange

Constants§

MAX

Traits§

Simple16
This trait is unsafe because if check is wrong then undefined behavior can occur.

Functions§

calculate_size
Return the number of bytes that would be used to encode this data set.
calculate_size_unchecked
compress
Write the data set as little-endian integers in simple 16 format into an array of bytes
compress_unchecked
decompress
Read from a byte array into a destination of u32