Pacote
    Preparing search index...

    Interface Options

    Configuration used to construct a Bloom filter.

    interface Options {
        filter?: Uint32Array<ArrayBufferLike> | readonly number[];
        hash?: HashFunction;
        hashes: number;
        seed?: number;
        size: number;
    }
    Index
    filter?: Uint32Array<ArrayBufferLike> | readonly number[]

    Existing filter data used to restore a previously serialised filter.

    Optional custom hash function.

    hashes: number

    Number of independent hash positions used for each value.

    seed?: number

    Seed for the filter's hash function; defaults to 0x00c0ffee.

    size: number

    Number of bits in a standard filter or counters in a counting filter.