Function ADS::encodeLength
Defined in File FrontCoding.h
Function Documentation
-
inline void ADS::encodeLength(std::uint32_t l, std::string &out)
appends to out the code of l in 1 to 4 bytes, the first two bits giving the number of bytes minus 1
- Pre:
l < 2^30
- Post:
decodeLength() reads l back (an audit)