interface Parameters {
    decodeContent: ((payload: Uint8Array) => Data[]);
    encodeContent: ((pubs: readonly Data[], maxSize: number) => [wire: Uint8Array, count: number]);
    hashPub: ((pub: Data) => number);
    iblt: IBLT.Parameters;
    ibltCompression: Compression;
}

Hierarchy

  • Parameters
    • Parameters

Properties

decodeContent: ((payload: Uint8Array) => Data[])

Decode Content from buffer.

encodeContent: ((pubs: readonly Data[], maxSize: number) => [wire: Uint8Array, count: number])

Encode Content to buffer.

hashPub: ((pub: Data) => number)

Compute the hash of a publication.

ibltCompression: Compression

Compression method for IBLT in name component.