leb128-cereal: LEB128 and SLEB128 encoding

[ codec, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0, 1.1, 1.2
Change log CHANGELOG.md
Dependencies base (>=4.10 && <5), bytestring (>=0.10), cereal (>=0.5) [details]
Tested with ghc ==8.2, ghc ==8.4, ghc ==8.6, ghc ==8.8, ghc ==8.10
License MIT
Copyright 2020 Joachim Breitner
Author Joachim Breitner
Maintainer mail@joachim-breitner.de
Category Codec
Bug tracker https://github.com/nomeata/haskell-leb128-cereal/issues
Source repo head: git clone https://github.com/nomeata/haskell-leb128-cereal
Uploaded by JoachimBreitner at 2020-11-20T15:15:42Z
Distributions LTSHaskell:1.2, NixOS:1.2, Stackage:1.2
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 1340 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-11-20 [all 1 reports]