Commit e1d5ddb4 authored by Max Kellermann's avatar Max Kellermann

input/AsyncInputStream: add method IsBufferFull()

parent 2da03223
...@@ -90,6 +90,10 @@ protected: ...@@ -90,6 +90,10 @@ protected:
return buffer.IsEmpty(); return buffer.IsEmpty();
} }
bool IsBufferFull() const {
return buffer.IsFull();
}
gcc_pure gcc_pure
size_t GetBufferSpace() const { size_t GetBufferSpace() const {
return buffer.GetSpace(); return buffer.GetSpace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment