| Safe Haskell | Safe-Inferred | 
|---|
Data.Layout.Internal
Description
Use the internal representation of layouts at your own risk.
The smart constructors in Data.Layout.Language enforce the
 documented invariants for Layout. The library has undefined
 behavior if these invariants are violated.
The recommended way to use this library is to import Data.Layout.
Documentation
Describes the binary layout of a set of data.
Constructors
| Value ValueFormat | A value with a known format.  | 
| Offset Bytes Layout | Skip   | 
| Group Bytes Layout | A struct which is   | 
| Repeat Reps Layout | An array with   | 
data ValueFormat Source
The size and byte order of a value.
Constructors
| Word8 | 8-bit word.  | 
| Word16le | 16-bit word, little endian.  | 
| Word32le | 32-bit word, little endian.  | 
| Word64le | 64-bit word, little endian.  | 
| Word16be | 16-bit word, big endian.  | 
| Word32be | 32-bit word, big endian.  | 
| Word64be | 64-bit word, big endian.  | 
Instances
The byte order of a value.
Constructors
| NoByteOrder | The word is only one byte in size.  | 
| LittleEndian | The least significant byte is first in the word.  | 
| BigEndian | The most significant byte is first in the word.  |