decode

Function decode 

Source
pub fn decode(base_data: &[u8], delta: &[u8]) -> Result<Vec<u8>, &'static str>
Expand description

Decodes a delta and applies it to base data to reconstruct the new data.

ยงArguments

  • base_data - The base data the delta was created from
  • delta - The encoded delta to apply