|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Internal structure representing a wmem-allocated string buffer. More...
#include <wmem_strbuf.h>
Public Attributes | |
| wmem_allocator_t * | allocator |
| char * | str |
| size_t | len |
| size_t | alloc_size |
Internal structure representing a wmem-allocated string buffer.
This structure holds a string buffer allocated via the wmem memory management system. It supports efficient string manipulation and resizing, including embedded NUL bytes.
| size_t _wmem_strbuf_t::alloc_size |
Total size of the allocated buffer pointed to by str, regardless of actual string content.
| wmem_allocator_t* _wmem_strbuf_t::allocator |
Pointer to the wmem_allocator_t used to manage memory for this buffer.
| size_t _wmem_strbuf_t::len |
Logical length of the string content, excluding the null terminator. May differ from strlen(str) if the string contains embedded NULs.
| char* _wmem_strbuf_t::str |
Pointer to the raw character buffer containing the string. May include embedded NULs.