package xxhash

Import Path
	github.com/klauspost/compress/zstd/internal/xxhash (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package


Package-Level Type Names (only one)
/* sort by: | */
Digest implements hash.Hash64. BlockSize always returns 32 bytes. MarshalBinary implements the encoding.BinaryMarshaler interface. Reset clears the Digest's state so that it can be reused. Size always returns 8 bytes. Sum appends the current hash to b and returns the resulting slice. Sum64 returns the current hash. UnmarshalBinary implements the encoding.BinaryUnmarshaler interface. Write adds more data to d. It always returns len(b), nil. WriteString adds more data to d. It always returns len(s), nil. *Digest : github.com/gogo/protobuf/proto.Sizer *Digest : github.com/miekg/dns.Writer *Digest : encoding.BinaryMarshaler *Digest : encoding.BinaryUnmarshaler *Digest : hash.Hash *Digest : hash.Hash64 *Digest : internal/bisect.Writer *Digest : io.StringWriter *Digest : io.Writer func New() *Digest
Package-Level Functions (total 3)
New creates a new Digest that computes the 64-bit xxHash algorithm.
Sum64 computes the 64-bit xxHash digest of b.
Sum64String computes the 64-bit xxHash digest of s.