FBufferReader::FBufferReader

Constructor

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Serialization/BufferReader.h"

Syntax

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

Remarks

Constructor

Parameters

Parameter

Description

Data

Buffer to use as the source data to read from

Size

Size of Data

bInFreeOnClose

If true, Data will be FMemory::Free'd when this archive is closed

bIsPersistent

Uses this value for SetIsPersistent()

bInSHAVerifyOnClose

It true, an async SHA verification will be done on the Data buffer (bInFreeOnClose will be passed on to the async task)