/** * FNV1A hash function, used for minimal perfect hashing algorithm. * * @param data The buffer to read data to hash from * @param offset The offset into the buffer to start reading data to hash * @param end The end offset (non-inclusive) of the data to hash. * @param hash The initial hash seed. * @return {number} The hash value. */ export declare function fnv1a(data: Uint8Array, offset: number, end: number, hash?: number): number; /** * FNV1A hash function, used for minimal perfect hashing algorithm, with a 24 bit mixing step * at the end to avoid problems from pathological cases. * * @param data The buffer to read data to hash from * @param offset The offset into the buffer to start reading data to hash * @param end The end offset (non-inclusive) of the data to hash. * @param hash The initial hash seed. * @return {number} The hash value. */ export declare function fnv1a24(data: Uint8Array, offset: number, end: number, hash?: number): number; /** * Test if two blobs in byte array spans are equal. * * @param a The first blob to test. * @param offseta Offset into the first blob. * @param enda End of the first blob. * @param b The second blob to test. * @param offsetb Offset into the second blob, * @param endb The end of the second blob. * @return {boolean} True if the blobs are equal. */ export declare function blobEquals(a: Uint8Array, offseta: number, enda: number, b: Uint8Array, offsetb: number, endb: number): boolean; //# sourceMappingURL=hashing.d.ts.map