byteslice-0.2.11.1: Slicing managed and unmanaged memory
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Bytes.Encode.BigEndian

Synopsis

Documentation

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 #

Encode a 16-bit unsigned integer as 4 bytes.

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 #

Encode a 16-bit signed integer as 4 bytes.