xxhash_safe.go 235 B

12345678910
  1. // +build appengine
  2. // This file contains the safe implementations of otherwise unsafe-using code.
  3. package xxhash
  4. // Sum64String computes the 64-bit xxHash digest of s.
  5. func Sum64String(s string) uint64 {
  6. return Sum64([]byte(s))
  7. }