A binary-tree-based datastructure optimized for aggregation of bytestrings using the O(1) appending operation.
Modulebytestring-tree-builder-0.2.7.12Haskell2010
ByteString.TreeBuilder
- 1 type
- 12 values
- Packagebytestring-tree-builder-0.2.7.12
- Exports13
- LanguageHaskell2010
- LicenceMIT
- SourceTreeBuilder.hs
Declaration
0 declarationsPrimitives
Lifts a bytestring into the builder.
Lifts a single byte into the builder.
Extras
Execution
3 declarationsO(1). Gets the total length.
O(n). Converts the builder into a strict bytestring.
O(n). Converts the builder into a lazy bytestring.