Umi — API References - v1.3.0
    Preparing search index...

    Variable bitArrayConst

    bitArray: (
        size: number,
        options?: boolean | BitArraySerializerOptions,
    ) => Serializer<boolean[]> = _bitArray

    Type Declaration

      • (
            size: number,
            options?: boolean | BitArraySerializerOptions,
        ): Serializer<boolean[]>
      • An array of boolean serializer that converts booleans to bits and vice versa.

        Parameters

        • size: number

          The amount of bytes to use for the bit array.

        • Optionaloptions: boolean | BitArraySerializerOptions

          A set of options for the serializer.

        Returns Serializer<boolean[]>

    import from "@metaplex-foundation/umi/serializers" instead.