Documentation ¶
Index ¶
- func CRC32CChecksum(data []byte) uint32
- func ParallelCRC32CChecksum(readerAt io.ReaderAt, length int64, opts ParallelChecksumOptions) (uint32, error)
- func ParallelCRC32CChecksumFile(filepath string, opts ParallelChecksumFileOptions) (uint32, error)
- type ParallelChecksumFileOptions
- type ParallelChecksumOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CRC32CChecksum ¶
CRC32CChecksum computes the crc32c checksum of some data
func ParallelCRC32CChecksum ¶
func ParallelCRC32CChecksum(readerAt io.ReaderAt, length int64, opts ParallelChecksumOptions) (uint32, error)
ParallelCRC32CChecksum computes the crc32c checksum for a readerAt using parallelism
func ParallelCRC32CChecksumFile ¶
func ParallelCRC32CChecksumFile(filepath string, opts ParallelChecksumFileOptions) (uint32, error)
ParallelCRC32CChecksumFile is a convenience function that opens a file and computes the crc32c checksum with ParallelCRC32CChecksum
Types ¶
type ParallelChecksumFileOptions ¶
ParallelChecksumFileOptions are the options for running a parallelized checksum on a file
type ParallelChecksumOptions ¶
ParallelChecksumOptions are the options for running a parallelized checksum
Click to show internal directories.
Click to hide internal directories.