Parameters
members: Type[]
Optional
callback: ((m) => void)
- (m): void
Parameters
m: {
alignment: number;
index: number;
offset: number;
size: number;
type: Type;
}
alignment: number
index: number
offset: number
size: number
Returns void
Returns {
alignment: number;
size: number;
stride: number;
}
the byte size, stride and alignment of the structure.
alignment: number
size: number
stride: number
Calls 'callback' with the layout information of each structure member with the types 'members'.