package
Version:
v1.4.6
Opens a new window with list of versions in this module.
Published: Jan 31, 2019
License: MIT, BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Checksum returns the 32bits Hash value.
ChecksumZero returns the 32bits Hash value.
Uint32 hashes x with the given seed.
Uint32Zero hashes x with seed 0.
XXH represents an xxhash32 object.
func (xxh *XXH) BlockSize() int
BlockSize gives the minimum number of bytes accepted by Write().
Init sets the seed and Reset().
Reset resets the Hash to its initial state.
Size returns the number of bytes returned by Sum().
Sum appends the current hash to b and returns the resulting slice.
It does not change the underlying hash state.
Sum32 returns the 32 bits Hash value.
Write adds input bytes to the Hash.
It never returns an error.
XXHZero represents an xxhash32 object with seed 0.
BlockSize gives the minimum number of bytes accepted by Write().
Reset resets the Hash to its initial state.
Size returns the number of bytes returned by Sum().
Sum appends the current hash to b and returns the resulting slice.
It does not change the underlying hash state.
Sum32 returns the 32 bits Hash value.
Write adds input bytes to the Hash.
It never returns an error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.