Data.ByteString.Builder.Prim

Bounded-size primitives

data BoundedPrim a

Combinators

emptyB

(>*<)

(>$<)

eitherB

condB

Builder construction

primBounded

primMapListBounded

primUnfoldrBounded

primMapByteStringBounded

primMapLazyByteStringBounded

Fixed-size primitives

data FixedPrim a

Combinators

emptyF

liftFixedToBounded

Builder construction

primFixed

primMapListFixed

primUnfoldrFixed

primMapByteStringFixed

primMapLazyByteStringFixed

Standard encodings of Haskell values

Binary encodings

int8

word8

Big-endian

int16BE

int32BE

int64BE

word16BE

word32BE

word64BE

floatBE

doubleBE

Little-endian

int16LE

int32LE

int64LE

word16LE

word32LE

word64LE

floatLE

doubleLE

Non-portable, host-dependent

intHost

int16Host

int32Host

int64Host

wordHost

word16Host

word32Host

word64Host

floatHost

doubleHost

Character encodings

ASCII

char7

Decimal numbers

int8Dec

int16Dec

int32Dec

int64Dec

intDec

word8Dec

word16Dec

word32Dec

word64Dec

wordDec

Hexadecimal numbers

word8Hex

word16Hex

word32Hex

word64Hex

wordHex

Fixed-width hexadecimal numbers

int8HexFixed

int16HexFixed

int32HexFixed

int64HexFixed

word8HexFixed

word16HexFixed

word32HexFixed

word64HexFixed

floatHexFixed

doubleHexFixed

ISO/IEC 8859-1 (Char8)

char8

UTF-8

charUtf8