Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Radix1Tree.Word8.Key
Description
Safe functions for building and destroying non-empty radix tree keys.
Synopsis
- data Build1
- buildBytes :: Build1 -> NonEmpty Word8
- buildByteString :: Build1 -> ByteString
- buildShortByteString :: Build1 -> ShortByteString
- data Feed1
- feedBytes :: NonEmpty Word8 -> Feed1
Build
Non-empty key as stored in the radix tree.
Raw
ByteString
buildByteString :: Build1 -> ByteString Source #
Convert the key into a non-empty strict ByteString
.
buildShortByteString :: Build1 -> ShortByteString Source #
Convert the key into a non-empty ShortByteString
.
Text
Feed
Key as a non-empty sequence of individual bytes.