pub fn read_delta_object_size<R: Read>(stream: &mut R) -> Result<(usize, usize)>Expand description
Reads the base size and result size of a delta object from the given stream.
Note: The stream MUST be positioned at the start of the delta object.
The base size and result size are encoded as variable-length integers in little-endian order.
The base size is the size of the base object, and the result size is the size of the result object.
§Parameters
stream: The stream from which the sizes are read.
§Returns
Returns a tuple containing the base size and result size.