Navigation
API > API/Developer > API/Developer/Horde > API/Developer/Horde/Storage > API/Developer/Horde/Storage/Bundles > API/Developer/Horde/Storage/Bundles/V2
References
| Module | Horde |
| Header | /Engine/Source/Developer/Horde/Public/Storage/Bundles/V2/PacketWriter.h |
| Include | #include "Storage/Bundles/V2/PacketWriter.h" |
Syntax
class FPacketWriter
Remarks
Writes exports into a new bundle packet
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPacketWriter
(
const FPacketWriter& |
|||
FPacketWriter
(
FBlobHandle InBundleHandle, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddImport
(
FBlobHandle Import |
Adds an import to the current blob | |
| void | Advance
(
size_t Size |
Increase the length of the current blob | |
| int | CompleteBlob
(
const FBlobType& Type |
Writes a new blob to this packet | |
| FPacket | Mark the current packet as complete | ||
| FBlob | GetExport
(
int ExportIdx |
Reads data for a blob written to storage | |
| int | Gets the number of exports currently in this packet | ||
| FBlobHandle | GetImport
(
int ImportIdx |
Gets a packet import by index | |
| int | Gets the number of unique imports current added to this packet | ||
| size_t | GetLength () |
Current length of the packet | |
| FMutableMemoryView | GetOutputBuffer
(
size_t UsedSize, |
Gets data to write new export |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FPacketWriter & | operator=
(
const FPacketWriter& |