Skip to main content

decode_delta

Function decode_delta 

Source
pub fn decode_delta(
    data: &[u8],
) -> Result<(Vec<PlacedCommand>, bool, usize, [u8; 8], [u8; 8]), DeltaError>
Expand description

Decode a binary delta (DLT\x03 or DLT\x04).

Returns (commands, inplace, version_size, src_crc, dst_crc). CRC validation is the caller’s responsibility.