Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::io::AbstractByteBuffer::Node Struct Reference

Buffer node. More...

Public Member Functions

 Node (size_t buffer_size)
 
 ~Node ()
 Destructor.
 

Public Attributes

void * buffer = nullptr
 Buffer memory.
 
Nodenext = nullptr
 Next node.
 
size_t length = 0
 Memory used by the node.
 
size_t cap = 0
 Capacity of the node.
 

Detailed Description

Buffer node.

Constructor & Destructor Documentation

◆ Node()

sese::io::AbstractByteBuffer::Node::Node ( size_t buffer_size)
explicit

Initialize node

Parameters
buffer_sizeSize of memory allocated for the node

References buffer, and cap.

◆ ~Node()

sese::io::AbstractByteBuffer::Node::~Node ( )

Destructor.

References free().

Member Data Documentation

◆ buffer

◆ cap

◆ length

◆ next


The documentation for this struct was generated from the following files: