![]() |
Boron 2.1.0
|
The UBuffer struct holds information about a resource, usually a chunk of memory. More...
#include <urlan.h>
Data Fields | ||
| uint8_t | type | |
| UrlanDataType identifier. | ||
| uint8_t | elemSize | |
| This typically holds the byte size of each element. | ||
| uint8_t | form | |
| This can indicate a specific form of the data (such as a string encoding). | ||
| uint8_t | flags | |
| Indicates special features of the buffer (UR_STATIC, UR_STRING_ENC_UP). | ||
| UIndex | used | |
| This typically holds the number of elements in the buffer. | ||
| union { | ||
| UBuffer * buf | ||
| Array of buffers. | ||
| UCell * cell | ||
| Array of cells. | ||
| char * c | ||
| chars | ||
| uint8_t * b | ||
| bytes | ||
| int16_t * i16 | ||
| int16_t | ||
| uint16_t * u16 | ||
| uint16_t | ||
| int32_t * i | ||
| int32_t | ||
| int32_t * i32 | ||
| int32_t | ||
| uint32_t * u32 | ||
| uint32_t | ||
| double * d | ||
| doubles | ||
| float * f | ||
| floats | ||
| void * v | ||
| Other. | ||
| } | ptr | |
| This typically holds a pointer to a chunk of memory. | ||
The UBuffer struct holds information about a resource, usually a chunk of memory.