Safe Haskell | None |
---|---|
Language | Haskell2010 |
FlatBuffers.Internal.Types
Synopsis
- class IsStruct a where
- newtype InlineSize = InlineSize {}
- newtype Alignment = Alignment {
- unAlignment :: Word8
Documentation
newtype InlineSize Source #
The number of bytes occupied by a piece of data that's stored "inline"
"inline" here means "stored directly in a table or a vector, and not by reference". E.g.: numeric types, booleans, structs, offsets.
Constructors
InlineSize | |
Fields |
Instances
The memory alignment (in bytes) for a piece of data in a flatbuffer.
E.g., Int32
are always aligned to 4 bytes.
This number should always be a power of 2 in the range [1, 16].
Constructors
Alignment | |
Fields
|