Coda by Ian Macalinao
    Preparing search index...

    Interface FixedSizeTypeNode<TType>

    Wraps another type and asserts a fixed total byte size. Padding or truncation is applied as needed.

    interface FixedSizeTypeNode<TType extends TypeNode = TypeNode> {
        kind: "fixedSizeTypeNode";
        size: number;
        type: TType;
    }

    Type Parameters

    Index
    kind: "fixedSizeTypeNode"
    size: number

    The total byte size the wrapped type must occupy.

    type: TType

    The wrapped type whose serialisation is constrained.