HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulebyteorder-1.0.4Haskell98

System.ByteOrder

Synopsis
  • Packagebyteorder-1.0.4
  • Exports2
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceByteOrder.hs
datadata ByteOrder

Indicates the byte-ordering for a 4-byte value, where '1' indicates the most-significant byte and '4' indicates the least significant byte.

In this format, big endian byte order would be represented as: (1,2,3,4).

For convinience, the most common cases (BigEndian and LittleEndian) are provided their own constructors.

Instances4Eq, Ord, Read, Show