summaryrefslogtreecommitdiff
path: root/vendor/github.com/cespare/xxhash/xxhash_safe.go
blob: dfa15ab7e27e2fbe1543b5b0ca2cab9fe08f08c9 (plain)
1
2
3
4
5
6
7
8
9
10
// +build appengine

// This file contains the safe implementations of otherwise unsafe-using code.

package xxhash

// Sum64String computes the 64-bit xxHash digest of s.
func Sum64String(s string) uint64 {
	return Sum64([]byte(s))
}