readStringHash method

int readStringHash()

Reads a string value as hash.

The hash function is based on the FNV-1a algorithm. hash yields the same value as readStringHash for the same string.

Implementation

@pragma('vm:prefer-inline')
int readStringHash() {
  _skipWhitespace();
  return _readStringHash();
}