FLargeMemoryWriter

Archive for storing a large amount of arbitrary data to memory

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/LargeMemoryWriter.h

Include

#include "Serialization/LargeMemoryWriter.h"

Syntax

class FLargeMemoryWriter : public FMemoryArchive

Remarks

Archive for storing a large amount of arbitrary data to memory

Constructors

Name Description

Public function

FLargeMemoryWriter

(
    const int64 PreAllocateBytes,
    bool bIsPersistent,
    const TCHAR* InFilename
)

Functions

Name Description

Public function Const

uint8 *

 

GetData()

Returns the written data.

Public function

uint8 *

 

ReleaseOwnership()

Releases ownership of the written data

Overridden from FArchive

Name Description

Public function Virtual

void

 

Serialize

(
    void* InData,
    int64 Num
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

TotalSize()

Gets the total size of the data 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