A slice of data to be sent to one or more transports.
More...
#include <NetworkBuffer.hpp>
|
| const void * | buffer = nullptr |
| | Pointer to the buffer where the data is stored.
|
| |
| uint32_t | size = 0 |
| | Number of bytes to use starting at buffer.
|
| |
A slice of data to be sent to one or more transports.
An RTPS datagram is made up of headers and one or more NetworkBuffer instances.
◆ NetworkBuffer() [1/2]
◆ NetworkBuffer() [2/2]
◆ operator asio::const_buffer()
| operator asio::const_buffer |
( |
| ) |
const |
Conversion operator to asio::const_buffer.
◆ buffer
| const void* buffer = nullptr |
Pointer to the buffer where the data is stored.
◆ size
Number of bytes to use starting at buffer.
The documentation for this struct was generated from the following file: