Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Serialization/LargeMemoryData.h |
| Include | #include "Serialization/LargeMemoryData.h" |
Syntax
class FLargeMemoryData
Remarks
Data storage for the large memory reader and writer.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FLargeMemoryData
(
const int64 PreAllocateBytes |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Append
(
void* InData, |
Append data at the given offset. | |
| uint8 * | GetData () |
Returns the written data. | |
| const uint8 * | GetData () |
Returns the written data. | |
| int64 | GetSize () |
Gets the size of the data written. | |
| bool | HasData () |
Check whether data is allocated or if the ownership was released. | |
| bool | Read
(
void* OutData, |
Read data at the given offset. Returns true if the data was read. | |
| uint8 * | Releases ownership of the written data. | ||
| void | Reserve
(
int64 Size |
||
| bool | Write
(
void* InData, |
Write data at the given offset. Returns true if the data was written. |