Popularity
0.9
Declining
Activity
0.0
Declining
0
1
0

Monthly Downloads: 7
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Codec     Leb128    
Latest version: v0.1.0.0
Add another 'leb128' Package

README

General purpose library for encoding values to LEB128 encoded byte sequences.

This library provides a generic interface to the core (S)LEB128 encoding algorithm.

Provided specific interfaces:

  • A specializations based on bytestring in "Codec.LEB128".
  • A specialization over lists in "Codec.LEB128.List".
  • Other implementations should be easy to derive from the interface provided in "Codec.LEB128.Generic"

Alternative implementations

The package leb128-cereal provides a way to decode using a cereal parser using the same algorithm.