Classes | |
| struct | ViewTag |
Public Member Functions | |
| DataBuffer (size_t bytes, std::pmr::memory_resource *mr) | |
| DataBuffer (ViewTag, void *external, size_t bytes) noexcept | |
| Non-owning ctor: wraps external for bytes bytes. | |
| DataBuffer (const DataBuffer &)=delete | |
| DataBuffer & | operator= (const DataBuffer &)=delete |
| void * | data () |
| const void * | data () const |
| size_t | bytes () const |
| std::pmr::memory_resource * | resource () const |
| bool | owns () const |
| void | addRef () |
| bool | release () |
| int | refCount () const |
Definition at line 25 of file data_buffer.hpp.
|
noexcept |
Non-owning ctor: wraps external for bytes bytes.
Destructor will not free; caller manages lifetime.
|
inline |
Definition at line 41 of file data_buffer.hpp.
|
inline |
Definition at line 39 of file data_buffer.hpp.
|
inline |
Definition at line 40 of file data_buffer.hpp.
|
inline |
Definition at line 43 of file data_buffer.hpp.
|
inline |
Definition at line 42 of file data_buffer.hpp.