Definition in file dt_buf.h.
Go to the source code of this file.
Data Structures | |
struct | dt_buf_ |
A structure that contains a dynamically allocated, resizeable block of memory. More... | |
Typedefs | |
typedef dt_buf_ | dt_buf |
A structure that contains a dynamically allocated, resizeable block of memory. |
|
A structure that contains a dynamically allocated, resizeable block of memory.
|
|
Appends a single byte of value c to the end of the buffer.
|
|
Appends the data found at data of length len to the end of the buffer.
|
|
Makes the buffer empty without releasing its memory.
|
|
Frees the memory associated with the buffer. Must balance every call to dt_buf_init. |
|
Ensure that the buffer allocates sufficient memory to store 'len' additional data.
|
|
Initialize the buffer.
|
|
Initialize a buffer and store specified data into it.
|