@hackage / zigzag

Zigzag encoding of integers into unsigned integers.

Latest0.1.0.0

About

Metadata

  • Last updated , by l3c_amartin
  • License BSD-3-Clause
  • Maintained by: amartin@layer3com.com

  • Lottery factor: 0

Links

Installation

Readme

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.