CIRCT
19.0.0git
|
A logical chunk of data representing serialized data. More...
#include <Common.h>
Public Member Functions | |
MessageData ()=default | |
Adopts the data vector buffer. More... | |
MessageData (std::vector< uint8_t > &data) | |
~MessageData ()=default | |
const uint8_t * | getBytes () const |
size_t | getSize () const |
Get the size of the data in bytes. More... | |
Private Attributes | |
std::vector< uint8_t > | data |
A logical chunk of data representing serialized data.
Currently, just a wrapper for a vector of bytes, which is not efficient in terms of memory copying. This will change in the future as will the API.
|
default |
Adopts the data vector buffer.
|
inline |
|
default |
|
inline |
|
inline |
|
private |
Definition at line 97 of file Common.h.
Referenced by getBytes(), and getSize().