A structure representing data read. More...
#include "fd-reader.h"
Public Member Functions | |
Data () | |
Default constructor, with null buffer and zero length. | |
Data (uint8_t *buf, ssize_t len) | |
Construct from a buffer of a given length. | |
Public Attributes | |
uint8_t * | m_buf |
The read data buffer. | |
ssize_t | m_len |
The size of the read data buffer, in bytes. | |
A structure representing data read.
Definition at line 79 of file fd-reader.h.
|
inline |
Default constructor, with null buffer and zero length.
Definition at line 82 of file fd-reader.h.
|
inline |
Construct from a buffer of a given length.
[in] | buf | The buffer. |
[in] | len | The size of the buffer, in bytes. |
Definition at line 94 of file fd-reader.h.
uint8_t* ns3::FdReader::Data::m_buf |
The read data buffer.
Definition at line 101 of file fd-reader.h.
ssize_t ns3::FdReader::Data::m_len |
The size of the read data buffer, in bytes.
Definition at line 103 of file fd-reader.h.