Codec.ByteString.Builder

The Builder type

data Builder

toLazyByteString

Constructing Builders

empty

singleton

putWord8

putInt8

append

fromByteString

fromLazyByteString

putString

Flushing the buffer state

flush

Derived Builders

Big-endian writes

putWord16be

putWord24be

putWord32be

putWord64be

putInt16be

putInt32be

putInt64be

Little-endian writes

putWord16le

putWord24le

putWord32le

putWord64le

putInt16le

putInt32le

putInt64le

Host-endian, unaligned writes

putWordHost

putWord16host

putWord32host

putWord64host

putVarLenBe

putVarLenLe