Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FCbPackage
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool TryLoad
(
FCbFieldIterator& Fields |
Load the object and attachments from compact binary as written by Save. | Serialization/CompactBinaryPackage.h | |
| Load the object and attachments from compact binary as written by Save. | Serialization/CompactBinaryPackage.h |
TryLoad(FCbFieldIterator &)
Description
Load the object and attachments from compact binary as written by Save.
The object and attachments reference the input iterator, if it is owned, and otherwise clones the object and attachments individually to make owned copies.
The iterator is advanced as object and attachment fields are consumed from it.
| Name | TryLoad |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryPackage.h |
| Include Path | #include "Serialization/CompactBinaryPackage.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/CompactBinaryPackage.cpp |
bool TryLoad
(
FCbFieldIterator & Fields
)
TryLoad(FArchive &, FCbBufferAllocator)
Description
Load the object and attachments from compact binary as written by Save.
The object and attachments will be individually loaded into owned buffers.
Allocated buffers will be cloned if they are not owned.
| Name | TryLoad |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryPackage.h |
| Include Path | #include "Serialization/CompactBinaryPackage.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/CompactBinaryPackage.cpp |
bool TryLoad
(
FArchive & Ar,
FCbBufferAllocator Allocator
)
Parameters
| Name | Remarks |
|---|---|
| Ar | Archive to read the package from. An error state is set on failure. |
| Allocator | Allocator for object and attachment buffers. |