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-Inferred |
Language | Haskell2010 |
Target byte ordering.
Since: 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 Source # | Since: 4.11.0.0 |
Enum ByteOrder Source # | Since: 4.11.0.0 |
Defined in GHC.ByteOrder succ :: ByteOrder -> ByteOrder Source # pred :: ByteOrder -> ByteOrder Source # toEnum :: Int -> ByteOrder Source # fromEnum :: ByteOrder -> Int Source # enumFrom :: ByteOrder -> [ByteOrder] Source # enumFromThen :: ByteOrder -> ByteOrder -> [ByteOrder] Source # enumFromTo :: ByteOrder -> ByteOrder -> [ByteOrder] Source # enumFromThenTo :: ByteOrder -> ByteOrder -> ByteOrder -> [ByteOrder] Source # | |
Eq ByteOrder Source # | Since: 4.11.0.0 |
Ord ByteOrder Source # | Since: 4.11.0.0 |
Defined in GHC.ByteOrder | |
Read ByteOrder Source # | Since: 4.11.0.0 |
Show ByteOrder Source # | Since: 4.11.0.0 |
targetByteOrder :: ByteOrder Source #
The byte ordering of the target machine.