|
Condy v1.1.0
C++ Asynchronous System Call Layer for Linux
|
Provided buffer. More...
#include <provided_buffers.hpp>
Public Member Functions | |
| void * | data () const |
| Get the data pointer of the provided buffer. | |
| size_t | size () const |
| Get the size of the provided buffer. | |
| void | reset () |
| Reset the provided buffer, returning it to the pool if owned. | |
| bool | owns_buffer () const |
| Check if the provided buffer owns a buffer from a pool. | |
Provided buffer.
A provided buffer represents a buffer obtained from a provided buffer pool. It automatically returns the buffer to the pool when it goes out of scope.
|
inline |
Get the size of the provided buffer.