Copyright | (c) The University of Glasgow 1994-2000 |
---|---|
License | see libraries/base/LICENSE |
Maintainer | cvs-ghc@haskell.org |
Stability | internal |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe |
Language | Haskell2010 |
Target byte ordering.
Since: base-4.11.0.0
Synopsis
Documentation
Byte ordering.
BigEndian | most-significant-byte occurs in lowest address. |
LittleEndian | least-significant-byte occurs in lowest address. |
Instances
Bounded ByteOrder # | Since: base-4.11.0.0 |
Enum ByteOrder # | Since: base-4.11.0.0 |
Defined in GHC.ByteOrder succ :: ByteOrder -> ByteOrder # pred :: ByteOrder -> ByteOrder # fromEnum :: ByteOrder -> Int # enumFrom :: ByteOrder -> [ByteOrder] # enumFromThen :: ByteOrder -> ByteOrder -> [ByteOrder] # enumFromTo :: ByteOrder -> ByteOrder -> [ByteOrder] # enumFromThenTo :: ByteOrder -> ByteOrder -> ByteOrder -> [ByteOrder] # | |
Eq ByteOrder # | Since: base-4.11.0.0 |
Ord ByteOrder # | Since: base-4.11.0.0 |
Defined in GHC.ByteOrder | |
Read ByteOrder # | Since: base-4.11.0.0 |
Show ByteOrder # | Since: base-4.11.0.0 |
targetByteOrder :: ByteOrder #
The byte ordering of the target machine.