Safe Haskell | Safe-Inferred |
---|
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.
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.
The byte order of a value.
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. |