FCbField

A field that includes a shared buffer for the memory that contains it.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Name Description

Public function

FCbArray

 

AsArray()

Access the field as an array. Defaults to an empty array on error.

Public function

FCbArray

 

AsArray()

Public function

FSharedBuffe...

 

AsBinary

(
    const FSharedBuffer& Default
)

Access the field as binary. Returns the provided default on error.

Public function

FSharedBuffe...

 

AsBinary

(
    const FSharedBuffer& Default
)

Public function

FCbObject

 

AsObject()

Access the field as an object. Defaults to an empty object on error.

Public function

FCbObject

 

AsObject()

Public function Const

FCompositeBu...

 

GetBuffer()

Returns a buffer that contains the field as it would be serialized by CopyTo.

See Also