Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBufferSize = 64 * datasize.KB
DefaultBufferSize is the size of the default internal buffer used by Checksum.
Variables ¶
This section is empty.
Functions ¶
func Checksum ¶
Checksum reads from reader and returns the hash of the bytes as a hex string. Checksum buffers from reader internally.
func ChecksumBuffer ¶
ChecksumBuffer reads from reader and returns the hash of the bytes as a hex string. ChecksumBuffer uses the buffer argument to buffer I/O from the reader to the hasher. If the buffer passed is zero-length, this function will panic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.