FLargeMemoryData

Data storage for the large memory reader and writer.

Windows
MacOS
Linux

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

Name Description

Public function

FLargeMemoryData

(
    const int64 PreAllocateBytes
)

Destructors

Name Description

Public function

~FLargeMemoryData()

Functions

Name Description

Public function

void

 

Append

(
    void* InData,
    int64 InNum
)

Append data at the given offset.

Public function

uint8 *

 

GetData()

Returns the written data.

Public function Const

const uint8 ...

 

GetData()

Returns the written data.

Public function Const

int64

 

GetSize()

Gets the size of the data written.

Public function Const

bool

 

HasData()

Check whether data is allocated or if the ownership was released.

Public function Const

bool

 

Read

(
    void* OutData,
    int64 InOffset,
    int64 InNum
)

Read data at the given offset. Returns true if the data was read.

Public function

uint8 *

 

ReleaseOwnership()

Releases ownership of the written data.

Public function

void

 

Reserve

(
    int64 Size
)

Public function

bool

 

Write

(
    void* InData,
    int64 InOffset,
    int64 InNum
)

Write data at the given offset. Returns true if the data was written.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss