Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkDataBuffer.h |
Include |
#include "Serialization/BulkDataBuffer.h" |
template<typename TYPE>
class FBulkDataBuffer
Used to manage a raw data buffer provided by BulkData while providing access to it via a TArrayView.
This object assumes that it owns the buffer that it has been given and will free the memory when the object is destroyed.
Name | Description | |
---|---|---|
|
FBulkDataBuffer() |
Constructor. |
|
FBulkDataBuffer ( |
Copy constructor which will create it's own memory buffer and then copy from the source object rather than share access to the same buffer. |
|
FBulkDataBuffer ( |
Move constructor. |
|
FBulkDataBuffer |
Constructor. |
Name | Description | |
---|---|---|
|
~FBulkDataBuffer() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
Empty() |
Frees the internal buffer and sets the internal TArrayView to an empty state |
|
|
const ViewTy... |
GetView() |
Allows access to the data buffer owned by the object in the form of a TArrayView |
|
Reset |
Frees any existing buffer and takes ownership of the buffer provided instead. |
Name | Description | ||
---|---|---|---|
|
FBulkDataBuf... |
operator= ( |
Assignment operator which will create it's own memory buffer and then copy from the source object rather than share access to the same buffer. |
|
FBulkDataBuf... |
operator= ( |
Move assignment operator. |
Name |
Description |
---|---|
ViewType |