Int package:blaze-builder

Writes and Builders for serializing integers. See Blaze.ByteString.Builder.Word for information about how to best write several integers at once.
Serialize an Int16 in big endian format.
Write an Int16 in native host order and host endianness.
Serialize an Int16 in little endian format.
Serialize a list of Int16s in big endian format.
Write a list of Int16s in native host order and host endianness.
Serialize a list of Int16s in little endian format.
Serialize an Int32 in big endian format.
Write an Int32 in native host order and host endianness.
Serialize an Int32 in little endian format.
Serialize a list of Int32s in big endian format.
Write a list of Int32s in native host order and host endianness.
Serialize a list of Int32s in little endian format.
Serialize an Int64 in big endian format.
Write an Int64 in native host order and host endianness.
Serialize an Int64 in little endian format.
Serialize a list of Int64s in big endian format.
Write a list of Int64s in native host order and host endianness.
Serialize a list of Int64s in little endian format.
Serialize a single byte.
Serialize a list of bytes.
Serialize a single native machine Int. The Int is serialized in host order, host endian form, for the machine you're on. On a 64 bit machine the Int is an 8 byte value, on a 32 bit machine, 4 bytes. Values written this way are not portable to different endian or integer sized machines, without conversion.
Serialize a list of Ints. See fromInthost for usage considerations.
Write an Int16 in big endian format.
Write an Int16 in native host order and host endianness.