Kit
Type aliases

BitArrayCodecConfig

BitArrayCodecConfig = object

Defines the configuration options for bit array codecs.

A bit array codec encodes an array of booleans into bits, packing them into bytes. This configuration allows adjusting the bit ordering.

See

Properties

backward?

optional backward: boolean

Determines whether the bits should be read in reverse order.

  • false (default): The first boolean is stored in the most significant bit (MSB-first).
  • true: The first boolean is stored in the least significant bit (LSB-first).

Default Value

false

On this page