|
NetCpp
v0.2
|
Structure to avoid issues when giving buffers to AbstractSocket. More...
#include <abstract_socket.hpp>
Public Attributes | |
| void * | ptr_ |
| Pointer to data in memory. | |
| std::size_t | size_ |
| Size (in bytes) of data. | |
Structure to avoid issues when giving buffers to AbstractSocket.
This structure allows to avoid issues about templates when giving a buffer to AbstractSocket. It is not meant to be directly used by the user. The user must only use buffer(...).
Definition at line 50 of file abstract_socket.hpp.
| void* ptr_ |
Pointer to data in memory.
Definition at line 52 of file abstract_socket.hpp.
| std::size_t size_ |
Size (in bytes) of data.
Definition at line 55 of file abstract_socket.hpp.