Skip to main content

sequential_extract_tar_stream

Function sequential_extract_tar_stream 

Source
pub fn sequential_extract_tar_stream(
    bytes: &[u8],
    master_key: &MasterKey,
) -> Result<Vec<u8>, FormatError>
Expand description

Decode a single-volume, dictionary-free non-seekable archive image into tar bytes after authenticating its terminal ManifestFooter and VolumeTrailer.

This is a whole-buffer helper, not a live provisional-output API. Callers receive no decoded bytes if terminal authentication fails.