node-ctypes - v2.10.0
    Preparing search index...

    Interface StructOptions

    Options for struct creation.

    interface StructOptions {
        packed?: boolean;
        pack?: string | number | bigint | boolean;
        layout?: "gcc-sysv" | "ms";
        align?: number;
    }
    Index
    packed?: boolean

    If true, disables padding between fields (as pack: 1).

    pack?: string | number | bigint | boolean

    Maximum field alignment in bytes, as Python's _pack_.

    layout?: "gcc-sysv" | "ms"

    Bit field layout, as Python's _layout_ ("ms" with pack, otherwise the platform's).

    align?: number

    Minimum alignment in bytes, as Python's _align_.