FOodleNetworkArchiveBase

Base file archive for the Oodle plugin.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

OodleNetworkHandlerComponent

Header

/Engine/Plugins/Compression/OodleNetwork/Source/Public/OodleNetworkArchives.h

Include

#include "OodleNetworkArchives.h"

Syntax

class FOodleNetworkArchiveBase : public FArchiveProxy

Remarks

Base file archive for the Oodle plugin.

Contains some common code, such as Oodle file compression, and helper structs/types, for archive writing/navigation

Variables

Name Description

Protected variable

bool

 

bImmediateFlush

Whether or not to flush immediately

Constructors

Name Description

Public function

FOodleNetworkArchiveBase

(
    FArchive& InInnerArchive
)

Base constructor

Functions

Name Description

Public function

FArchive &

 

GetInnerArchive()

Public function

void

 

SeekPop()

Pops the most recent archive position from the stack, and seeks to that position

Public function

void

 

SeekPush()

Pushes the current archive position onto a stack

Public function

void

 

SeekPush

(
    int64 SeekPos
)

Pushes the current archive position onto a stack, and seeks to a new position

Public function

bool

 

SerializeOodleCompressData

(
    FOodleCompressedData& OutDataInfo,
    uint8* Data,
    uint32 DataBytes
)

Compresses data and serializes it into the archive, and writes/serializes info to the specified FOodleCompressedData struct

Public function

bool

 

SerializeOodleDecompressData

(
    FOodleCompressedData& DataInfo,
    uint8*& OutData,
    uint32& OutDataBytes,
    bool bOutDataSlack
)

Decompresses the data referenced by the input FOodleCompressedData struct

Classes

Name

Description

Protected struct

FOodleCompressedData

Struct for handling compressed data within the archive

Protected struct

TRewritable

Encapsulates a value written to an archive, which can be seamlessly rewritten at any time, without disturbing seek position