Documentation ¶
Index ¶
- Constants
- func Checksum32(in []byte) uint32
- func Checksum32S(in []byte, seed uint32) (h uint32)
- func Checksum64(in []byte) uint64
- func Checksum64S(in []byte, seed uint64) (h uint64)
- func New32() hash.Hash32
- func New64() hash.Hash64
- func NewS32(seed uint32) (xx hash.Hash32)
- func NewS64(seed uint64) (xx hash.Hash64)
Constants ¶
View Source
const Backend = "GoUnsafe"
Backend returns the current version of xxhash being used.
Variables ¶
This section is empty.
Functions ¶
func Checksum32 ¶
Checksum32 returns the checksum of the input data with the seed set to 0
func Checksum32S ¶
Checksum32S returns the checksum of the input bytes with the specific seed.
func Checksum64S ¶
Checksum64S returns the 64bit xxhash checksum for a single input
func New32 ¶
New32 creates a new hash.Hash32 computing the 32bit xxHash checksum starting with the seed set to 0x0.
func New64 ¶
New64 creates a new hash.Hash64 computing the 32bit xxHash checksum starting with the seed set to 0x0.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.