Navigation
API > API/Runtime > API/Runtime/Core
FArchive Proxy to transparently write out compressed data to an array.
| Name | FArchiveSaveCompressedProxy |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/ArchiveSaveCompressedProxy.h |
| Include Path | #include "Serialization/ArchiveSaveCompressedProxy.h" |
Syntax
class FArchiveSaveCompressedProxy : public FArchive
Inheritance Hierarchy
- FArchiveState → FArchive → FArchiveSaveCompressedProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArchiveSaveCompressedProxy
(
TArray< uint8 >& InCompressedData, |
Constructor, initializing all member variables and allocating temp memory. | Serialization/ArchiveSaveCompressedProxy.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FArchiveSaveCompressedProxy() |
Destructor, flushing array if needed. Also frees temporary memory. | Serialization/ArchiveSaveCompressedProxy.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldSerializeToArray | bool | Whether to serialize to temporary buffer of array. | Serialization/ArchiveSaveCompressedProxy.h | |
| CompressedData | TArray< uint8 > & | Array to write compressed data to. | Serialization/ArchiveSaveCompressedProxy.h | |
| CompressionFlags | ECompressionFlags | Flags to use for compression. | Serialization/ArchiveSaveCompressedProxy.h | |
| CompressionFormat | FName | Format to use for compression. | Serialization/ArchiveSaveCompressedProxy.h | |
| CurrentIndex | int32 | Current index in array. | Serialization/ArchiveSaveCompressedProxy.h | |
| RawBytesSerialized | int64 | Number of raw (uncompressed) bytes serialized. | Serialization/ArchiveSaveCompressedProxy.h | |
| TmpData | uint8 * | Pointer to current position in temporary buffer. | Serialization/ArchiveSaveCompressedProxy.h | |
| TmpDataEnd | uint8 * | Pointer to end of temporary buffer. | Serialization/ArchiveSaveCompressedProxy.h | |
| TmpDataStart | uint8 * | Pointer to start of temporary buffer. | Serialization/ArchiveSaveCompressedProxy.h |
Functions
Public
Overridden from FArchive
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Flush() |
Flushes tmp data to array. | Serialization/ArchiveSaveCompressedProxy.h | |
virtual void Seek
(
int64 InPos |
Seeking is only implemented internally for writing out compressed data and asserts otherwise. | Serialization/ArchiveSaveCompressedProxy.h | |
virtual void Serialize
(
void* Data, |
Serializes data to archive. | Serialization/ArchiveSaveCompressedProxy.h |
Overridden from FArchiveState
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int64 Tell() |
Serialization/ArchiveSaveCompressedProxy.h |