[][src]Crate xdelta3


This crate is a Rust binding of xdelta3 which is written in C.

In case you are not familar, xdelta3 implements VCDIFF standard, which is a standard for binary patches. You can generate and apply VCDIFF patch for two similar (but large) binary files quickly using xdelta3.

The original xdelta3 utility is widely used for delivering software updates and ROM hacks.

You can find out how to use this crate in this documentation and you can also consult the tests in the test/ folder to see it in action (how to generate and patch two files!)



Function to decode the difference data


Function to generate the difference data