delta_output_size

Function delta_output_size 

Source
pub fn delta_output_size<T: AsRef<[u8]>>(z_delta: T) -> usize
Expand description

Return the size (in bytes) of the output from applying a delta.

This routine is provided so that an procedure that is able to call delta_apply() can learn how much space is required for the output and hence allocate nor more space that is really needed.