[][src]Function fast_rsync::apply

pub fn apply(
    base: &[u8],
    delta: &[u8],
    out: &mut Vec<u8>
) -> Result<(), ApplyError>

Apply delta to the base data base, appending the result to out.

Security

This function should not be used with untrusted input, as a delta may create an arbitrarily large output which can exhaust available memory. Use apply_limited() instead to set an upper bound on the size of out.