flat-0.3.4: Principled and efficient bit-oriented binary serialization.

Data.Flat.Endian

Description

Endian utilities Exported for testing purposes, but not meant to be used outside this package.

Synopsis

# Documentation

Convert a 32 bit value in cpu endianess to big endian

Convert a 64 bit value in cpu endianess to big endian

Convert a 16 bit value in cpu endianess to big endian

Fix issue with ghcjs (different order of 32 bit halves of 64 values with respect to ghc)