MIT licensed by Joachim Breitner
Maintained by [email protected]
This version can be pinned in stack with:leb128-cereal-1.2@sha256:ba8770629aa1fa8524cbbea3b4065b21def815a766ab6c74174aa57f8c124ead,1883

Module documentation for 1.2

Used by 1 package in nightly-2024-05-25(full list with versions):

This module implements encoding and decoding of Natural and Integer values according to LEB128 and SLEB128. See for a specification.

This package uses the cereal package, but also provides direct encoding and decoding to ByteString.


Revision history for leb128-serialize

1.2 – 2020-11-20

  • Add Data.Serialize.LEB128.Lenient for a decoder that allows overlong encodings. For now, a simple code copy; may be refactored later.

1.1 – 2020-06-08

  • Fix check for overlong encodings; it was not strict enough

1.0 – 2020-04-23

  • First version. Released on an unsuspecting world.