Versions in this module Expand all Collapse all v0 v0.1.5 Jul 24, 2020 Changes in this version + var ErrPartialChecksum = errors.New("Reader length was not a multiple of the checksums") + func TransformToInternalRepresentation(inWeakBuffer []byte) []byte + type ChunkChecksum struct + ChunkOffset uint + Size int64 + StrongChecksum []byte + WeakChecksum []byte + func LoadChecksumsFromReaderLegacy(r io.Reader, weakHashSize int, strongHashSize int) ([]ChunkChecksum, error) + func (chunk ChunkChecksum) Match(other ChunkChecksum) bool + type ChunkInfo struct + Size int64 + Source io.ReadSeeker + SourceOffset int64 + TargetOffset int64 + type StrongChecksumGetter []ChunkChecksum + func (s StrongChecksumGetter) GetStrongChecksumForBlock(blockID int) []byte