Data.Bytes.Encode.BigEndian
word16 :: Word16 -> Bytes Source #
Encode a 16-bit unsigned integer as 4 bytes.
word32 :: Word32 -> Bytes Source #
Encode a 32-bit unsigned integer as 4 bytes.
word64 :: Word64 -> Bytes Source #
int16 :: Int16 -> Bytes Source #
Encode a 16-bit signed integer as 4 bytes.
int32 :: Int32 -> Bytes Source #
Encode a 32-bit signed integer as 4 bytes.
int64 :: Int64 -> Bytes Source #