ucx
UAP Common Extensions
Loading...
Searching...
No Matches
Data Fields
cx_buffer_s Struct Reference

Structure for the UCX buffer data. More...

#include <buffer.h>

Data Fields

union { 
 
   char *   space 
 Data is interpreted as text.
 
   unsigned char *   bytes 
 Data is interpreted as binary.
 
};  
 A pointer to the buffer contents.
 
const CxAllocatorallocator
 The allocator to use for automatic memory management.
 
CxBufferFlushConfigflush
 Optional flush configuration.
 
size_t pos
 Current position of the buffer.
 
size_t capacity
 Current capacity (i.e.
 
size_t size
 Current size of the buffer content.
 
int flags
 Flag register for buffer features.
 

Detailed Description

Structure for the UCX buffer data.

Field Documentation

◆ capacity

size_t cx_buffer_s::capacity

Current capacity (i.e.

maximum size) of the buffer.

◆ flags

int cx_buffer_s::flags

◆ flush

CxBufferFlushConfig* cx_buffer_s::flush

Optional flush configuration.

See also
cxBufferEnableFlushing()

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