• An array of boolean codec that converts booleans to bits and vice versa.

    Type Parameters

    • TSize extends number

    Parameters

    • size: TSize

      The amount of bytes to use for the bit array.

    • Optionalconfig: boolean | BitArrayCodecConfig

      A set of config for the codec.

    Returns FixedSizeCodec<boolean[], boolean[], TSize>