FMemoryReaderView

Archive for reading arbitrary data from the specified memory view

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Serialization/MemoryReader.h"

Syntax

class FMemoryReaderView : public FMemoryArchive

Remarks

Archive for reading arbitrary data from the specified memory view

Constructors

Name Description

Public function

FMemoryReaderView

(
    TArrayView< const uint8 > InBytes,
    bool bIsPersistent
)

Public function

FMemoryReaderView

(
    FMemoryView 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.