Description
LEB128 and SLEB128 encoding.
Description
This module implements encoding and decoding of Natural
and Integer
values according to LEB128 and SLEB128. See https://en.wikipedia.org/wiki/LEB128 for a specification.
This package uses the cereal
package, but also provides direct encoding and decoding to ByteString
.