xxh32code function

int xxh32code(
  1. String input, [
  2. Encoding? encoding
])

Gets the 32-bit xxHash value of a String

Parameters:

  • input is the string to hash
  • The encoding is the encoding to use. Default is input.codeUnits

Implementation

int xxh32code(String input, [Encoding? encoding]) {
  return xxh32.string(input, encoding).number();
}