Function ADS::adaptiveArithmeticEncode(std::string_view)

Function Documentation

inline std::vector<std::uint8_t> ADS::adaptiveArithmeticEncode(std::string_view s)

the adaptive arithmetic code of the bytes of s

Post:

adaptiveArithmeticDecode( result , s.size() ) == s (an audit)