[][src]Crate xdelta3

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!)

Functions

decode

Function to decode the difference data

encode

Function to generate the difference data