pack-0.4.0: Bidirectional fast ByteString packer/unpacker

LicenseBSD-style
Maintainercapsjac <capsjac at gmail dot com>
StabilityExperimental
PortabilityPortable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Pack.Endianness

Description

 

Synopsis

Documentation

le16Host :: Word16 -> Word16 Source

16 bit little endian to host endian.

le32Host :: Word32 -> Word32 Source

32 bit little endian to host endian.

le64Host :: Word64 -> Word64 Source

64 bit little endian to host endian.

be16Host :: Word16 -> Word16 Source

16 bit big endian to host endian.

be32Host :: Word32 -> Word32 Source

32 bit big endian to host endian.

be64Host :: Word64 -> Word64 Source

64 bit big endian to host endian.