pub fn apply_delta(base: &[u8], delta: &[u8]) -> Result<Vec<u8>, DeltaError>Expand description
Apply delta to base, reconstructing the target.
This validates the delta strictly: truncated headers, unknown
opcodes/instructions, out-of-range copies, inserts past the end of the
delta, and length/checksum contradictions all return
DeltaError. Deltas produced by compute_delta always
round-trip.