• Table is a dynamic-size type. It can be considered as a dynvec but the length is fixed.

    Type Parameters

    • T extends Record<string, BytesCodec>

    Parameters

    • shape: T

      The table shape, item codec can be dynamic size

    • fields: (keyof T)[]

      the shape's keys. Also provide an order for pack/unpack.

    Returns ObjectCodec<T>

Generated using TypeDoc