zigzag

Zigzag encoding of integers into unsigned integers.

https://github.com/byteverse/zigzag

Version on this page:0.0.1.0
LTS Haskell 22.18:0.0.1.0@rev:2
Stackage Nightly 2024-04-25: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:a995158dad3dfe0347cfc8f8a9327cc3f51832600553169ba5b1e08c45b45405,1078

Module documentation for 0.0.1.0

Depends on 1 package(full list with versions):
Used by 1 package in nightly-2022-06-22(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.