FMemoryWriter

Archive for storing arbitrary data to the specified memory location

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Serialization/MemoryWriter.h"

Syntax

class FMemoryWriter : public FMemoryArchive

Remarks

Archive for storing arbitrary data to the specified memory location

Variables

Name Description

Protected variable

const FName

 

ArchiveName

Archive name, used to debugging, by default set to NAME_None.

Protected variable

TArray< uint8 >...

 

Bytes

Constructors

Name Description

Public function

FMemoryWriter

(
    TArray< uint8 >& InBytes,
    bool bIsPersistent,
    bool bSetOffset,
    const FName InArchiveName
)

Overridden from FArchive

Name Description

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Overridden from FArchiveState

Name Description

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

TotalSize()

Returns total size of the backing data storage.

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