Interface Parameters

IBLT parameters.

interface Parameters {
    checkSeed: number;
    hash: HashFunction;
    keyToBufferLittleEndian: boolean;
    nEntries: number;
    nHash: number;
    serializeLittleEndian: boolean;
}

Properties

checkSeed: number

Hash function seed for KeyCheck field.

This must be greater than nHash.

32-bit hash function.

keyToBufferLittleEndian: boolean

Whether to use little endian when converting uint32 key to Uint8Array.

nEntries: number

Number of hashtable entries.

This must be divisible by nHash.

nHash: number

Number of hash keys.

serializeLittleEndian: boolean

Whether to use little endian when serializing uint32 and int32 fields.