Data storage for the large memory reader and writer. 更多...
#include <LargeMemoryData.h>
Public 成员函数 | |
| FORCEINLINE void | Append (void *InData, int64 InNum) |
| Append data at the given offset. | |
| FORCEINLINE uint8 * | GetData () |
| Returns the written data. 更多... | |
| FORCEINLINE const uint8 * | GetData () const |
| Returns the written data. 更多... | |
| FORCEINLINE int64 | GetSize () const |
| Gets the size of the data written. | |
| bool | HasData () const |
| Check whether data is allocated or if the ownership was released. | |
| bool | Read (void *OutData, int64 InOffset, int64 InNum) const |
| Read data at the given offset. 更多... | |
| uint8 * | ReleaseOwnership () |
| Releases ownership of the written data. | |
| bool | Write (void *InData, int64 InOffset, int64 InNum) |
| Write data at the given offset. 更多... | |
Data storage for the large memory reader and writer.
|
inline |
Returns the written data.
|
inline |
Returns the written data.
| bool FLargeMemoryData::Read | ( | void * | OutData, |
| int64 | InOffset, | ||
| int64 | InNum | ||
| ) | const |
Read data at the given offset.
Returns true if the data was read.
| bool FLargeMemoryData::Write | ( | void * | InData, |
| int64 | InOffset, | ||
| int64 | InNum | ||
| ) |
Write data at the given offset.
Returns true if the data was written.