diff options
-rw-r--r-- | includes/BStream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/BStream.h b/includes/BStream.h index 73b7a96..087948d 100644 --- a/includes/BStream.h +++ b/includes/BStream.h @@ -16,6 +16,7 @@ class BStream : public Handle { virtual off_t getSize(); int peekNextByte(); String readString(bool putNL = false); + bool isEmpty() { return m_availBytes == 0; } private: IO<Handle> m_h; uint8_t * m_buffer; |