Navigation
Unreal Engine C++ API Reference > Runtime > Core > Serialization
Inheritance Hierarchy
- TCbBuffer
- TCbBufferFactory
- FCbField
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h |
Include | #include "Serialization/CompactBinary.h" |
Syntax
class FCbField :
public TCbBuffer< FCbFieldView > ,
public TCbBufferFactory< FCbField, FCbFieldView >
Remarks
A field that includes a shared buffer for the memory that contains it.
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FCbArray | AsArray () |
Access the field as an array. Defaults to an empty array on error. |
![]() |
FCbArray | AsArray () |
|
![]() |
FSharedBuffer | AsBinary
(
const FSharedBuffer& Default |
Access the field as binary. Returns the provided default on error. |
![]() |
FSharedBuffer | AsBinary
(
const FSharedBuffer& Default |
|
![]() |
FCbObject | AsObject () |
Access the field as an object. Defaults to an empty object on error. |
![]() |
FCbObject | AsObject () |
|
![]() ![]() |
FCompositeBuffer | GetBuffer () |
Returns a buffer that contains the field as it would be serialized by CopyTo. |
![]() |
TCbBuffer () |
Construct a default value. | |
![]() |
TCbBuffer
(
FSharedBuffer ValueBuffer, |
Construct a value from a pointer to its data and an optional externally-provided type. | |
![]() |
TCbBuffer
(
const ViewType& Value, |
Construct a value that holds a reference to the buffer that contains it. | |
![]() |
Construct a value that holds a reference to the buffer of the outer that contains it. |