input/AsyncInputStream: add method IsBufferFull()

This commit is contained in:
Max Kellermann 2014-06-17 02:32:10 +02:00
parent 2da0322329
commit e1d5ddb478

View File

@ -90,6 +90,10 @@ protected:
return buffer.IsEmpty();
}
bool IsBufferFull() const {
return buffer.IsFull();
}
gcc_pure
size_t GetBufferSpace() const {
return buffer.GetSpace();