byte-order

Portable big-endian and little-endian conversions

https://github.com/andrewthad/byte-order

Version on this page:0.1.1.0
LTS Haskell 22.17:0.1.3.1
Stackage Nightly 2024-04-19:0.1.3.1
Latest on Hackage:0.1.3.1

See all snapshots byte-order appears in

BSD-3-Clause licensed by Andrew Martin
Maintained by [email protected]
This version can be pinned in stack with:byte-order-0.1.1.0@sha256:cfc451bb103749686791aa1d230881b70ac2acea4d424dc96fc50e0cd4868f5f,1207

Module documentation for 0.1.1.0

This library provides an interface to portably work with byte arrays whose contents are known to be of a fixed endianness. There are two ways to use this module. See the System.ByteOrder module for more documentation.

Changes

Revision history for byte-order

0.1.1.0 – YYYY-mm-dd

  • Add PrimUnaligned instance for Fixed.
  • Add modules for more convenient interface to reading and writing fixed-endianness elements to byte arrays: Data.Primitive.ByteArray.LittleEndian and Data.Primitive.ByteArray.BigEndian.

0.1.0.0 – 2019-05-29

  • Initial release.