FMemoryReader

Archive for reading arbitrary data from the specified memory location

Windows
MacOS
Linux

Inheritance Hierarchy

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

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