pub fn decompress_header(
compressed: &[u8],
compression: Compression,
output_size: usize,
) -> Result<Vec<u8>>Expand description
Decompress a header buffer in memory.
This is used during cloud source initialization to extract the PCAP header from compressed data without making additional HTTP requests.
§Arguments
compressed- Compressed bytes (e.g., first 64KB from cloud object)compression- Detected compression formatoutput_size- Maximum bytes to decompress (e.g., 1024 for PCAP header)
§Returns
Decompressed bytes, up to output_size bytes.