(PackedStream): added Reader property.

This commit is contained in:
morkt 2018-01-02 06:34:50 +04:00
parent c9e41ba2c8
commit 0abbadd97b

View File

@ -2,6 +2,8 @@
//! \date 2017 Dec 31 //! \date 2017 Dec 31
//! \brief Generic class representing compressed stream. //! \brief Generic class representing compressed stream.
// //
// Copyright (C) 2017-2018 by morkt
//
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the // deal in the Software without restriction, including without limitation the
@ -104,6 +106,8 @@ namespace GameRes.Compression
m_reader.Initialize (input); m_reader.Initialize (input);
} }
protected TDecompressor Reader { get { return m_reader; } }
public override bool CanSeek { get { return false; } } public override bool CanSeek { get { return false; } }
public override long Length public override long Length
{ {