pub fn git_patch_delta(base: &[u8], delta: &[u8]) -> Option<Vec<u8>>Expand description
Apply a git delta (delta.c patch_delta) to reconstruct the postimage from
base. The delta begins with the base size and result size as varints,
followed by copy (0x80 bit set: offset/size from base) and insert (literal
bytes) opcodes. Returns None on any malformed/inconsistent delta.