checksum

package
v0.1.4-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRC32CChecksum

func CRC32CChecksum(data []byte) (uint32, error)

CRC32CChecksum computes the crc32c checksum of a file

func ParallelCRC32CChecksum

func ParallelCRC32CChecksum(filename string, opts ParallelChecksumOptions) (uint32, error)

ParallelCRC32CChecksum a

Types

type ParallelChecksumOptions

type ParallelChecksumOptions struct {
	Concurrency int
	PartSize    int64
	UseMmap     bool
}

ParallelChecksumOptions are the options for running a parallelized checksum

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL