Versions in this module Expand all Collapse all v1 v1.0.0 Dec 21, 2023 Changes in this version + func Patch(delta Delta, src io.ReadSeeker, dst io.Writer) error + type Block struct + Checksum32 uint32 + End uint32 + HasData bool + RawBytes []byte + Sha256hash [sha256.Size]byte + Start uint32 + String string + func (b *Block) Print() + type Delta []Block + func Diff(src io.Reader, fileSize int, f Fingerprint) (Delta, error) + func (d Delta) Print() + type Fingerprint struct + BlockSize uint32 + Blocks map[uint32]map[[sha256.Size]byte]Block + func NewFingerprint(src io.Reader, blockSize uint32) (Fingerprint, error) + func (fp *Fingerprint) Print()