basis.memory.Struct
An unaligned Int struct.
Int
Returns the power-of-two alignment of this struct's frame.
Returns the power-of-two alignment of this struct's frame. This alignment must evenly divide all storage addresses used for values of this type.
Loads a struct instance from data.
the data to load from.
the aligned address in data to load from.
data
the loaded instance.
Returns the size in bytes of this struct's frame.
Returns the size in bytes of this struct's frame. The struct's alignment must evenly divide this size.
Stores a struct instance as data.
the data to store to.
the aligned address in data to store to.
the instance to store.
An unaligned
Int
struct.