Пример #1
0
        public LzxDecoderStream(Stream input, int decompressedSize, int compressedSize)
        {
            dec = new LzxDecoder(16);

            // TODO: Rewrite using block decompression like Lz4DecoderStream
            Decompress(input, decompressedSize, compressedSize);
        }
Пример #2
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         decompressedStream.Dispose();
     }
     dec = null;
     decompressedStream = null;
 }