diff options
Diffstat (limited to 'src/input/AsyncInputStream.hxx')
-rw-r--r-- | src/input/AsyncInputStream.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input/AsyncInputStream.hxx b/src/input/AsyncInputStream.hxx index f72e7465d..a2945be81 100644 --- a/src/input/AsyncInputStream.hxx +++ b/src/input/AsyncInputStream.hxx @@ -90,6 +90,10 @@ protected: return buffer.IsEmpty(); } + bool IsBufferFull() const { + return buffer.IsFull(); + } + gcc_pure size_t GetBufferSpace() const { return buffer.GetSpace(); |