FMemoryReader

Archive for reading arbitrary data from the specified memory location

Windows
MacOS
Linux

Inheritance Hierarchy

FArchive

FMemoryArchive

FMemoryReader

References

Module

Core

Header

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

Include

#include "Serialization/MemoryReader.h"

Syntax

class FMemoryReader : public FMemoryArchive

Remarks

Archive for reading arbitrary data from the specified memory location

Constructors

Name Description

Public function

FMemoryReader

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

Functions

Name Description

Public function

void

 

SetLimitSize

(
    int64 NewLimitSize
)

With this method it's possible to attach data behind some serialized data.

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