implementation of buffers to ease operations More...
|The current position used for reading/writing. More...|
|The read/write limit. More...|
|The amount of data the buffer can contain. More...|
|The data contained in the buffer. More...|
|If the buffer is fixed it cannot be resized. More...|
|The current state of the buffer. More...|
implementation of buffers to ease operations
ldns_buffers can contain arbitrary information, per octet. You can write to the current end of a buffer, read from the current position, and access any data within it.
Example use of buffers is in the source code of host2str.c