FBufferReaderBase

Similar to [FMemoryReader](API\Runtime\Core\Serialization\FMemoryReader), but able to internally manage the memory for the buffer.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

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

Include

#include "Serialization/BufferReader.h"

Syntax

class FBufferReaderBase : public FArchive

Remarks

Similar to FMemoryReader, but able to internally manage the memory for the buffer.

Variables

Name Description

Protected variable

bool

 

bFreeOnClose

Protected variable

void *

 

ReaderData

Protected variable

int64

 

ReaderPos

Protected variable

int64

 

ReaderSize

Constructors

Name Description

Public function

FBufferReaderBase

(
    void* Data,
    int64 Size,
    bool bInFreeOnClose,
    bool bIsPersistent
)

Constructor

Destructors

Name Description

Public function

~FBufferReaderBase()

Overridden from FArchive

Name Description

Public function Virtual

bool

 

Close()

Public function Virtual

void

 

Seek

(
    int64 InPos
)

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Overridden from FArchiveState

Name Description

Public function Virtual

bool

 

AtEnd()

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

Tell()

Public function Virtual

int64

 

TotalSize()

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