bytestring-strict-builder-0.4.3: An efficient strict bytestring builder

Safe HaskellNone
LanguageHaskell2010

ByteString.StrictBuilder

Synopsis

Documentation

builderBytes :: Builder -> ByteString Source #

Efficiently constructs a strict bytestring.

builderChunksBuilder :: Builder -> Builder Source #

Converts into the standard lazy bytestring builder. Does so efficiently using the internal APIs of "bytestring", without producing any intermediate representation.

builderLength :: Builder -> Int Source #

O(1). Gets the size of the bytestring that is to be produced.