Data type which manages a binary large object. The reserved memory is freed upon destruction.
More...
|
| BlobDataType ()=default |
| Constructs an empty object.
|
|
| BlobDataType (const BlobDataType &Other) |
| Constructs an object copying data from Other .
|
|
| BlobDataType (BlobDataType &&Other) noexcept |
| Constructs an object moving from Other . Other is empty afterwards.
|
|
BlobDataType & | operator= (const BlobDataType &Other) |
| Copy-assigns data from Other .
|
|
BlobDataType & | operator= (BlobDataType &&Other) noexcept |
| Move-assigns data from Other . Other is empty afterwards.
|
|
void | Reserve (size_t Size) |
| Reserves Size bytes of memory freeing any previously reserved memory.
|
|
void | Assign (size_t Size, const DataType Data) |
| Copies Size bytes from Data to the buffer freeing any previously reserved memory.
|
|
void | Reset () |
| Frees any reserved memory.
|
|
DataPtrType::element_type * | Release () noexcept |
| Releases ownership of the stored buffer returning a pointer to it and leaving this instance empty.
|
|
auto | GetPtr () noexcept |
| Returns a pointer to the stored buffer.
|
|
auto | Size () const noexcept |
| Returns the size of the stored data in bytes.
|
|
Data type which manages a binary large object. The reserved memory is freed upon destruction.
Definition at line 516 of file Util.h.