Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryValue.h |
Include |
#include "Serialization/CompactBinaryValue.h" |
class FCbValue
A type that provides unchecked access to compact binary values.
The main purpose of the type is to efficiently switch on field type. For every other use case, prefer to use the field, array, and object types directly. The accessors here do not check the type before reading the value, which means they can read out of bounds even on a valid compact binary value if the wrong accessor is used.
Name | Description | |
---|---|---|
|
FCbValue ( |
Name | Description | ||
---|---|---|---|
|
AsArrayView() |
||
|
AsAttachment() |
||
|
AsBinary() |
||
|
AsBinaryAttachment() |
||
|
AsBool() |
||
|
FCbCustomByI... |
AsCustomById() |
|
|
FCbCustomByN... |
AsCustomByName() |
|
|
AsDateTimeTicks() |
||
|
float |
AsFloat32() |
|
|
double |
AsFloat64() |
|
|
AsHash() |
||
|
AsInteger ( |
Access as an integer, with both positive and negative values returned as unsigned. |
|
|
AsIntegerNegative() |
||
|
AsIntegerPositive() |
||
|
AsObjectAttachment() |
||
|
AsObjectId() |
||
|
FCbObjectVie... |
AsObjectView() |
|
|
FUtf8StringV... |
AsString ( |
Access as a string. Checks for range errors and uses the default if OutError is not null. |
|
AsTimeSpanTicks() |
||
|
AsUuid() |
||
|
const void &... |
GetData() |
|
|
GetType() |