# Functions
Apply performs an update of the current executable or opts.TargetFile, with the contents of the given io.Reader.
CommitBinary moves the new executable to the location of the current executable or opts.TargetPath if specified.
NewBSDiffPatcher returns a new Patcher that applies binary patches using the bsdiff algorithm.
PrepareAndCheckBinary reads the new binary content from io.Reader and performs the following actions: 1.
RollbackError takes an error value returned by Apply and returns the error, if any, that occurred when attempting to roll back from a failed update.
# Interfaces
Patcher defines an interface for applying binary patches to an old item to get an updated item.