Navigation
Unreal Engine C++ API Reference > Runtime > Core > Serialization
Inheritance Hierarchy
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h |
Include | #include "Serialization/CompactBinary.h" |
Syntax
template<typename Type, typename ViewType>
class TCbBufferFactory
Remarks
Factory functions for types derived from TCbBuffer.
This uses the curiously recurring template pattern to construct the correct derived type, that must inherit from TCbBuffer and this type to expose the factory functions.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Type | Clone
(
const void*const Data |
Construct a value from an owned clone of its memory. |
![]() ![]() |
Type | Clone
(
const ViewType& Value |
Construct a value from an owned clone of its memory. |
![]() ![]() |
Type | MakeView
(
const void*const Data, |
Construct a value from a read-only view of its memory and its optional outer buffer. |
![]() ![]() |
Type | MakeView
(
const ViewType& Value, |
Construct a value from a read-only view of its memory and its optional outer buffer. |