@hackage zigzag0.1.0.0

Zigzag encoding of integers into unsigned integers.

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.