patch

Function patch 

pub fn patch(
    old: impl Read + Seek,
    patch: impl Read,
    new: impl Write,
) -> Result<(), PatchError>
Expand description

Custom bspatch implementation. Optimized to limit the size of memory allocations.

For reference : https://github.com/cperciva/bsdiff/blob/master/bspatch/bspatch.c