xxh32code function
Gets the 32-bit xxHash value of a String
Parameters:
inputis the string to hash- The
encodingis the encoding to use. Default isinput.codeUnits
Implementation
int xxh32code(String input, [Encoding? encoding]) {
return xxh32.string(input, encoding).number();
}