42 bool empty(
void)
const;
62 void pop(
const size_t numBytes);
65 size_t getTotalBytesAvailable(
void)
const;
75 void require(
const size_t numBytes);
81 size_t getUniqueManagedBufferCount(
void)
const;
85 size_t _bytesAvailable;
87 std::shared_ptr<Impl> _impl;
94 return _bytesAvailable == 0;
99 assert(not _queue.empty());
100 return _queue.front();
105 return _bytesAvailable;
Definition: BufferAccumulator.hpp:31
const BufferChunk & front(void) const
Definition: BufferAccumulator.hpp:97
#define POTHOS_API
Definition: Config.hpp:41
Definition: RingDeque.hpp:28
bool empty(void) const
Definition: BufferAccumulator.hpp:92
Definition: BufferChunk.hpp:26
size_t getTotalBytesAvailable(void) const
Get the total number of bytes held in this accumulator.
Definition: BufferAccumulator.hpp:103