nibblestring

Packed, strict nibble arrays with a list interface (ByteString for nibbles)

Latest on Hackage:0.0.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Jamshid
Maintained by [email protected]

Data.NibbleString holds an array of Nibbles (4-bit values), and provides an interface similar to that in Data.ByteString. Although similar to Bytestring, there are obvious differences. The "length" of a nibblestring will be twice that of bytestring, unpacking a nibblestring will result in two items per byte, etc. Data.NibbleString is intended to be imported qualified.