Package0.1.0.0Data
zigzag
Zigzag encoding of integers into unsigned integers.
- Version0.1.0.0
- CategoryData
- LicenceBSD-3-Clause
- AuthorEric Demko
- Maintaineramartin@layer3com.com
- Homepagegithub.com/byteverse/zigzag
- Pinned byhackage zigzag 0.1.0.0
- Sourcehackage.haskell.org/package/zigzag-0.1.0.0
Modules
1 module- Data.Word.Zigzag8Zigzag encoding maps signed integers to unsigned integers so that numbers
Description
Zigzag encoding is usually a precursor to a varint encoding such as LEB128. It has the advantage that numbers nearer zero are represented with only the lower-order bits set.
Depends on
1 package- base-4.20.2.0with GHC