public LzxDecoderStream(Stream input, int decompressedSize, int compressedSize) { dec = new LzxDecoder(16); // TODO: Rewrite using block decompression like Lz4DecoderStream Decompress(input, decompressedSize, compressedSize); }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { decompressedStream.Dispose(); } dec = null; decompressedStream = null; }