(PackedStream): added constructor.

This commit is contained in:
morkt 2018-03-27 14:27:39 +04:00
parent 03eec71d9d
commit d04ac8b7c3

View File

@ -106,6 +106,12 @@ namespace GameRes.Compression
m_reader.Initialize (input);
}
public PackedStream (Stream input, TDecompressor reader, bool leave_open = false) : base (input, leave_open)
{
m_reader = reader;
m_reader.Initialize (input);
}
protected TDecompressor Reader { get { return m_reader; } }
public override bool CanSeek { get { return false; } }