zigzag

Zigzag encoding of integers into unsigned integers.

https://github.com/byteverse/zigzag

Version on this page:0.0.1.0@rev:1
LTS Haskell 22.39:0.0.1.0@rev:2
Stackage Nightly 2024-10-31:0.1.0.0
Latest on Hackage:0.1.0.0

See all snapshots zigzag appears in

BSD-3-Clause licensed by Eric Demko
Maintained by [email protected]
This version can be pinned in stack with:zigzag-0.0.1.0@sha256:ac2f78aa02457ac12d17621c692d29ad30bae205b5be858fbf0e400ac9a9c412,1133

Module documentation for 0.0.1.0

Depends on 1 package(full list with versions):
Used by 1 package in nightly-2023-06-08(full list with versions):

zigzag

Zig-Zag encoding of integers into natural numbers. This encoding scheme has the advantage that LEB128, which is normally only specified for unsigned integers, will naturally represent small-magnitude signed integers (positive or negative) in few bytes.

Changes

Revision history for zigzag

0.0.1.0 – YYYY-mm-dd

  • First version. Released on an unsuspecting world.