Function ADS::encodeGamma

Function Documentation

inline void ADS::encodeGamma(BitWriter &w, std::uint64_t x)

gamma( x ), | B( x ) | - 1 zeros and B( x )

Pre:

x >= 1

Post:

gammaLength( x ) bits written