Sese Framework
2.3.0
A cross-platform framework
|
Buffer node. More...
Public Member Functions | |
Node (size_t buffer_size) | |
~Node () | |
Destructor. | |
Public Attributes | |
void * | buffer = nullptr |
Buffer memory. | |
Node * | next = nullptr |
Next node. | |
size_t | length = 0 |
Memory used by the node. | |
size_t | cap = 0 |
Capacity of the node. | |
Buffer node.
|
explicit |
sese::io::AbstractByteBuffer::Node::~Node | ( | ) |
Destructor.
References free().
void* sese::io::AbstractByteBuffer::Node::buffer = nullptr |
Buffer memory.
Referenced by sese::io::AbstractByteBuffer::AbstractByteBuffer(), Node(), sese::io::AbstractByteBuffer::peek(), sese::io::AbstractByteBuffer::read(), and sese::io::AbstractByteBuffer::write().
size_t sese::io::AbstractByteBuffer::Node::cap = 0 |
Capacity of the node.
Referenced by sese::io::AbstractByteBuffer::AbstractByteBuffer(), sese::io::AbstractByteBuffer::freeCapacity(), sese::io::AbstractByteBuffer::getReadableSize(), Node(), and sese::io::AbstractByteBuffer::write().
size_t sese::io::AbstractByteBuffer::Node::length = 0 |
Memory used by the node.
Referenced by sese::io::AbstractByteBuffer::AbstractByteBuffer(), sese::io::AbstractByteBuffer::AbstractByteBuffer(), sese::io::AbstractByteBuffer::eof(), sese::io::AbstractByteBuffer::freeCapacity(), sese::io::AbstractByteBuffer::getLength(), sese::io::AbstractByteBuffer::getReadableSize(), sese::io::AbstractByteBuffer::peek(), sese::io::AbstractByteBuffer::read(), sese::io::AbstractByteBuffer::trunc(), and sese::io::AbstractByteBuffer::write().
Node* sese::io::AbstractByteBuffer::Node::next = nullptr |
Next node.
Referenced by sese::io::AbstractByteBuffer::AbstractByteBuffer(), sese::io::AbstractByteBuffer::eof(), sese::io::AbstractByteBuffer::freeCapacity(), sese::io::AbstractByteBuffer::getReadableSize(), sese::io::AbstractByteBuffer::peek(), sese::io::AbstractByteBuffer::read(), sese::io::AbstractByteBuffer::trunc(), sese::io::AbstractByteBuffer::write(), and sese::io::AbstractByteBuffer::~AbstractByteBuffer().