Function ADS::ransCompress

Function Documentation

inline std::vector<std::uint8_t> ADS::ransCompress(std::span<const std::uint8_t> in)

the rANS code of order 0 of the bytes of in, with the frequencies and the size