diff --git a/AK/ConstrainedStream.h b/AK/ConstrainedStream.h index 087c32594ff..7ef92b26382 100644 --- a/AK/ConstrainedStream.h +++ b/AK/ConstrainedStream.h @@ -22,6 +22,7 @@ public: virtual bool is_eof() const override; virtual bool is_open() const override; virtual void close() override; + u64 remaining() const { return m_limit; } private: MaybeOwned m_stream;