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 Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Public function Virtual

int64

 

TotalSize()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback