Sese Framework
3.0.0
A cross-platform framework
|
#include <IOBuf.h>
Public Member Functions | |
IOBufNode (size_t capacity) | |
~IOBufNode () | |
size_t | getReadableSize () const noexcept |
size_t | getWriteableSize () const noexcept |
Public Attributes | |
void * | buffer {nullptr} |
Cache pointers. | |
size_t | read {0} |
Cache read size. | |
size_t | size {0} |
The cache is populated with size. | |
const size_t | CAPACITY |
The size of the cache capacity. | |
IOBuf Node.
|
explicit |
sese::IOBufNode::~IOBufNode | ( | ) |
References free().
|
nodiscardnoexcept |
Get the readable size of the node
References read().
Referenced by sese::IOBuf::peek().
|
nodiscardnoexcept |
Get the writable size of the node
void* sese::IOBufNode::buffer {nullptr} |
Cache pointers.
Referenced by IOBufNode(), and sese::IOBuf::peek().
const size_t sese::IOBufNode::CAPACITY |
The size of the cache capacity.
size_t sese::IOBufNode::read {0} |
Cache read size.
Referenced by sese::IOBuf::peek().
size_t sese::IOBufNode::size {0} |
The cache is populated with size.
Referenced by sese::IOBuf::peek().