• Calls 'callback' with the layout information of each structure member with the types 'members'.

    Parameters

    • members: Type[]
    • source: InputSource
    • 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
            • type: Type

          Returns void

    Returns {
        alignment: number;
        size: number;
        stride: number;
    }

    the byte size, stride and alignment of the structure.

    • alignment: number
    • size: number
    • stride: number

Generated using TypeDoc