Navigation
API > API/Runtime > API/Runtime/Core > API/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. |