• Preparing search index...
  • The search index is not available
Solana JavaScript SDK
  • Solana JavaScript SDK
  • @solana/codecs-data-structures
  • getBitArrayDecoder

Function getBitArrayDecoder

  • getBitArrayDecoder<TSize extends number>(
        size: TSize,
        config?: boolean | BitArrayCodecConfig,
    ): FixedSizeDecoder<boolean[], TSize>
  • Decodes bits into an array of booleans.

    Type Parameters

    • TSize extends number

    Parameters

    • size: TSize

      The amount of bytes to use for the bit array.

    • config: boolean | BitArrayCodecConfig = {}

      A set of config for the decoder.

    Returns FixedSizeDecoder<boolean[], TSize>

    • Defined in packages/codecs-data-structures/src/bit-array.ts:62

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc