Skip to main content

peel_bytes

Function peel_bytes 

Source
pub fn peel_bytes(data: &[u8], name: Option<&str>) -> Result<PeelOutcome>
Expand description

Peel one outer BARE gzip/bzip2 compression layer from data. Archives (.tgz/.tbz2/.zip/.7z) are NOT peeled here — they are member lists; use [crate::archive::open]. name is an optional file-name hint.