Function ADS::zeroRunEncode

Function Documentation

inline std::vector<std::uint32_t> ADS::zeroRunEncode(const std::vector<std::uint8_t> &x)

RLE0 of bzip: the integers of x but 0 grown by 1, each run of m zeros in the code of Wheeler, the digits of m + 1 after the leading 1.

Post:

zeroRunDecode( result ) == x (an audit)