Function parse_entry_streaming

Source
pub fn parse_entry_streaming(
    i: &[u8],
) -> IResult<&[u8], Option<TarEntryStreaming<'_>>>
Expand description

Tries to parse the data and extract a tar entry.

This can be used to implement streaming mode parsing, which can use with sync reader such as std::io::Read, or async reader such as tokio::io::AsyncRead.