Data.ByteString.Builder

The Builder type

data Builder

Executing Builders

toLazyByteString

hPutBuilder

Creating Builders

Binary encodings

byteString

lazyByteString

shortByteString

int8

word8

Big-endian

int16BE

int32BE

int64BE

word16BE

word32BE

word64BE

floatBE

doubleBE

Little-endian

int16LE

int32LE

int64LE

word16LE

word32LE

word64LE

floatLE

doubleLE

Character encodings

ASCII (Char7)

char7

string7

ISO/IEC 8859-1 (Char8)

char8

string8

UTF-8

charUtf8

stringUtf8

Formatting numbers as text

Decimal numbers

int8Dec

int16Dec

int32Dec

int64Dec

intDec

integerDec

word8Dec

word16Dec

word32Dec

word64Dec

wordDec

floatDec

doubleDec

Hexadecimal numbers

word8Hex

word16Hex

word32Hex

word64Hex

wordHex

Fixed-width hexadecimal numbers

int8HexFixed

int16HexFixed

int32HexFixed

int64HexFixed

word8HexFixed

word16HexFixed

word32HexFixed

word64HexFixed

floatHexFixed

doubleHexFixed

byteStringHex

lazyByteStringHex