eckit::CircularBuffer class

Base classes

class NonCopyable
Inherit from this class to make a NonCopyable class.

Constructors, destructors, conversion operators

CircularBuffer(size_t size = 64*1024, size_t capactity = std::numeric_limits<size_t>::max())
~CircularBuffer()

Public functions

auto write(const void* buffer, size_t length) -> size_t
auto read(void* buffer, size_t length) -> size_t
auto length() const -> size_t
auto capacity() const -> size_t
auto size() const -> size_t
void clear()
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.