FBulkDataWriter

Custom archive class for writing directly to bulk data.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FArchiveState

FArchive

FBulkDataWriter

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkDataWriter.h

Include

#include "Serialization/BulkDataWriter.h"

Syntax

class FBulkDataWriter : public FArchive

Remarks

Custom archive class for writing directly to bulk data.

Variables

Name Description

Protected variable

void *

 

Buffer

Protected variable

FByteBulkData &

 

BulkData

Protected variable

int64

 

WriterPos

Protected variable

int64

 

WriterSize

Constructors

Name Description

Public function

FBulkDataWriter

(
    FByteBulkData& InBulkData,
    bool bIsPersistent
)

Destructors

Name Description

Public function

~FBulkDataWriter()

Overridden from FArchive

Name Description

Public function Virtual

void

 

Seek

(
    int64 InPos
)

Attempts to set the current offset into backing data storage, this will do nothing if there is no storage.

Public function Virtual

void

 

Serialize

(
    void* Data,
    int64 Num
)

Overridden from FArchiveState

Name Description

Public function Virtual

bool

 

AtEnd()

Returns true if the current location within the backing data storage is at the end, always returns false if there is no storage.

Public function Virtual Const

FString

 

GetArchiveName()

Returns the name of the Archive.

Public function Virtual

int64

 

Tell()

Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location.

Public function Virtual

int64

 

TotalSize()

Returns total size of the backing data storage.

Operators

Name Description

Public function Virtual

FArchive &

 

operator<<

(
    FName& Value
)

Serializes an FName value from or into this archive.