FLocalFileStreamFArchive

Archive to wrap the file reader and respect chunk boundaries

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FArchiveState

FArchive

FLocalFileStreamFArchive

References

Module

LocalFileNetworkReplayStreaming

Header

/Engine/Source/Runtime/NetworkReplayStreaming/LocalFileNetworkReplayStreaming/Public/LocalFileNetworkReplayStreaming.h

Include

#include "LocalFileNetworkReplayStreaming.h"

Syntax

class FLocalFileStreamFArchive : public FArchive

Remarks

Archive to wrap the file reader and respect chunk boundaries

Variables

Name Description

Public variable

bool

 

bAtEndOfReplay

Public variable

TArray< uint8 >

 

Buffer

Public variable

int32

 

Pos

Constructors

Name Description

Public function

FLocalFileStreamFArchive()

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* V,
    int64 Length
)

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

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.