Non-owning view of a host memory buffer. More...
#include <types.hpp>
Public Member Functions | |
host_buffer (char const *data, size_t size) | |
Construct a new host buffer object. More... | |
Public Attributes | |
char const * | data = nullptr |
Pointer to the buffer. | |
size_t | size = 0 |
Size of the buffer. | |
Non-owning view of a host memory buffer.
Used to describe buffer input in source_info
objects.
Definition at line 304 of file io/types.hpp.
|
inline |
Construct a new host buffer object.
data | Pointer to the buffer |
size | Size of the buffer |
Definition at line 315 of file io/types.hpp.