@hackage leb128-cereal1.2

LEB128 and SLEB128 encoding

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.