Variable Murmur3Const

Murmur3: {
    mash(code) => number;
    mix(code, value) => number;
    mixString(code, string) => number;
    mixUint8Array(code, array) => number;
}

32-bit MurmurHash algorithm, version 3.

Type declaration

  • mash:function
    • Finalizes the given hash code.

      Parameters

      • code: number

      Returns number

  • mix:function
    • Mixes a new hash value into the accumulated hash code, and returns the accumulated hash value.

      Parameters

      • code: number
      • value: number

      Returns number

  • mixString:function
    • Mixes each consecutive 4-byte word of the UTF-8 encoding of string into code, and returns the accumulated hash value.

      Parameters

      • code: number
      • string: string

      Returns number

  • mixUint8Array:function
    • Mixes each consecutive 4-byte word of array into code, and returns the accumulated hash value.

      Parameters

      • code: number
      • array: Uint8Array

      Returns number

Generated using TypeDoc