Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2025 Changes in this version + type BsdiffEngine struct + func NewBsdiffEngine() *BsdiffEngine + func (e *BsdiffEngine) ApplyPatch(baseData, patchData []byte) ([]byte, error) + func (e *BsdiffEngine) ComputeDiff(oldData, newData []byte) ([]byte, error) + func (e *BsdiffEngine) Name() string + type DiffEngine interface + ApplyPatch func(baseData, patchData []byte) ([]byte, error) + ComputeDiff func(oldData, newData []byte) ([]byte, error) + Name func() string + func NewDiffEngine(library string) (DiffEngine, error) + type Stats struct + CompressionRate float64 + NewSize int + OldSize int + PatchSize int + func ComputeStats(oldData, newData, patchData []byte) Stats