A binary-tree-based datastructure optimized for aggregation of bytestrings using the O(1) appending operation.
Modulebytestring-tree-builder-0.2.7.13Haskell2010
ByteString.TreeBuilder
Contents
Synopsis
- data Builder
- value byteString
- value byte
- value asciiIntegral
- value asciiChar
- value utf8Char
- value utf8Ord
- value utf8Text
- value utf8LazyText
- value intercalate
- value length
- value toByteString
- value toLazyByteString
- Packagebytestring-tree-builder-0.2.7.13
- Exports13
- LanguageHaskell2010
- LicenceMIT
- SourceTreeBuilder.hs
Declaration
Primitives
Lifts a bytestring into the builder.
Lifts a single byte into the builder.
Extras
Execution
O(1). Gets the total length.
O(n). Converts the builder into a strict bytestring.
O(n). Converts the builder into a lazy bytestring.