fnv1a_64_s function Null safety

int fnv1a_64_s(
  1. String str,
  2. {int init = FNV1_64_INIT}
)

FNV-1a 64bit hash algorithm

Implementation

int fnv1a_64_s(String str, {int init = FNV1_64_INIT}) {
  return fnv1a_64(utf8.encode(str), init: init);
}