base-4.14.3.0: Basic libraries
Copyright(c) The University of Glasgow 1994-2000
Licensesee libraries/base/LICENSE
Maintainercvs-ghc@haskell.org
Stabilityinternal
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.ByteOrder

Description

Target byte ordering.

Since: base-4.11.0.0

Synopsis

Documentation

data ByteOrder Source #

Byte ordering.

Constructors

BigEndian

most-significant-byte occurs in lowest address.

LittleEndian

least-significant-byte occurs in lowest address.

Instances

Instances details
Bounded ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.ByteOrder

Enum ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.ByteOrder

Eq ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.ByteOrder

Ord ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.ByteOrder

Read ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.ByteOrder

Show ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.ByteOrder

targetByteOrder :: ByteOrder Source #

The byte ordering of the target machine.