|
FMI 1.0
FaaS Message Interface
|
Small data wrapper around a generic type T with some helper utilities. More...
#include <Data.h>

Public Member Functions | |
| Data ()=default | |
| Data (T value) | |
| std::size_t | size_in_bytes () |
| char * | data () |
| Gets pointer to the start of the buffer. More... | |
| T | get () const |
| Returns the value. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const Data &t) |
| bool | operator== (const Data &lhs, const Data &rhs) |
Small data wrapper around a generic type T with some helper utilities.
|
default |
|
inline |
|
inline |
Gets pointer to the start of the buffer.
|
inline |
Returns the value.
|
inline |
|
friend |