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 |
GHC.ByteOrder
Description
Target byte ordering.
Since: base-4.11.0.0
Synopsis
Documentation
Byte ordering.
Constructors
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 Methods 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 # | 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 |
Generic ByteOrder # | |
type Rep ByteOrder # | Since: base-4.15.0.0 |
targetByteOrder :: ByteOrder Source #
The byte ordering of the target machine.