GetDecompressionStream() static private method

Adds a BZip2-extraction layer around a stream.
The compressed stream contains invalid data.
static private GetDecompressionStream ( Stream stream ) : Stream
stream System.IO.Stream The stream containing the BZip2-compressed data.
return System.IO.Stream
Example #1
0
 protected override Stream OpenArchive()
 {
     return(TarBz2Extractor.GetDecompressionStream(base.OpenArchive()));
 }
Example #2
0
 protected override Stream BuildArchive(string sourcePath) => TarBz2Extractor.GetDecompressionStream(base.BuildArchive(sourcePath));