Ruby 3.3.4p94 (2024-07-09 revision be1089c8ec5ba40e09b1553e36b3174bf4014d9d)
|
A pm_buffer_t is a simple memory buffer that stores data in a contiguous block of memory. More...
#include <pm_buffer.h>
Data Fields | |
size_t | length |
The length of the buffer in bytes. | |
size_t | capacity |
The capacity of the buffer in bytes that has been allocated. | |
char * | value |
A pointer to the start of the buffer. | |
A pm_buffer_t is a simple memory buffer that stores data in a contiguous block of memory.
Definition at line 21 of file pm_buffer.h.
size_t pm_buffer_t::capacity |
The capacity of the buffer in bytes that has been allocated.
Definition at line 26 of file pm_buffer.h.
Referenced by pm_buffer_init_capacity().
size_t pm_buffer_t::length |
The length of the buffer in bytes.
Definition at line 23 of file pm_buffer.h.
Referenced by pm_buffer_append_zeroes(), pm_buffer_concat(), pm_buffer_init_capacity(), pm_buffer_length(), and pm_serialize_content().
char* pm_buffer_t::value |
A pointer to the start of the buffer.
Definition at line 29 of file pm_buffer.h.
Referenced by pm_buffer_append_zeroes(), pm_buffer_concat(), pm_buffer_free(), pm_buffer_init_capacity(), pm_buffer_value(), and pm_serialize_content().