|
CX Framework
Cross-platform C utility framework
|
Simple buffer management. More...
#include <cx/cx.h>Go to the source code of this file.
Data Structures | |
| struct | BufferHeader |
| struct | BufIov |
Typedefs | |
| typedef struct BufIov | BufIov |
Functions | |
| Buffer | bufCreate (size_t size) |
| Buffer | bufTryCreate (size_t size) |
| void | bufResize (Buffer *buf, size_t newsize) |
| bool | bufTryResize (Buffer *buf, size_t newsize) |
| size_t | bufLen (Buffer buf) |
| void | bufClear (Buffer buf) |
| uint8 * | bufReserve (Buffer *buf, size_t len) |
| void | bufAppendBytes (Buffer *buf, _In_reads_bytes_opt_(len) const void *data, size_t len) |
| void | bufAppend (Buffer *buf, Buffer src) |
| void | bufAppendC (Buffer *buf, Buffer *src) |
| void | bufDestroy (Buffer *buf) |
Simple buffer management.
Definition in file buffer.h.