diff --git a/coding/byte_stream.hpp b/coding/byte_stream.hpp index cd3ab76af4..9ce9f747f0 100644 --- a/coding/byte_stream.hpp +++ b/coding/byte_stream.hpp @@ -49,13 +49,12 @@ public: m_Storage.insert(m_Storage.end(), pp, pp + size); } - //size_t BytesWritten() const - //{ - // return m_Storage.size() - m_InitialStorageSize; - //} + size_t Pos() const + { + return m_Storage.size(); + } private: TStorage & m_Storage; - //size_t m_InitialStorageSize; }; class CountingSink