ECborCode

Possible cbor code for cbor headers.

Windows
MacOS
Linux

References

Module

Cbor

Header

/Engine/Source/Runtime/Cbor/Public/CborTypes.h

Include

#include "CborTypes.h"

Syntax

enum ECborCode
{
    None                  = 0,
    Uint                  = 0 << 5,
    Int                   = 1 << 5,
    ByteString            = 2 << 5,
    TextString            = 3 << 5,
    Array                 = 4 << 5,
    Map                   = 5 << 5,
    Tag                   = 6 << 5,
    Prim                  = 7 << 5,
    Value_1Byte           = 0x18,
    Value_2Bytes          = 0x19,
    Value_4Bytes          = 0x1A,
    Value_8Bytes          = 0x1B,
    Unused_28             = 0x1C,
    Unused_29             = 0x1D,
    Unused_30             = 0x1E,
    Indefinite            = 0x1F,
    False                 = 0x14,
    True                  = 0x15,
    Null                  = 0x16,
    Undefined             = 0x17,
    Break                 = 0xFF,
    Dummy                 = 0x1C,
    StreamEnd             = 0x3C,
    ErrorReservedItem     = 0x1D,
    ErrorStreamFailure    = 0x1E,
    ErrorBreak            = 0x3D,
    ErrorMapContainer     = 0x3E,
    ErrorNoHalfFloat      = 0x5D,
    ErrorContext          = 0x5E,
    ErrorStringNesting    = 0x7D,
}

Values

Name

Description

None

Uint

Major Types.

Int

ByteString

TextString

Array

Map

Tag

Prim

Value_1Byte

Additional Value Info.

Value_2Bytes

Value_4Bytes

Value_8Bytes

Unused_28

Unused_29

Unused_30

Indefinite

False

Prim type codes.

True

Null

Undefined

Break

Special values.

Dummy

Protocol unused values, used to report context or errors State

StreamEnd

ErrorReservedItem

Errors.

ErrorStreamFailure

ErrorBreak

ErrorMapContainer

ErrorNoHalfFloat

ErrorContext

ErrorStringNesting

Remarks

Possible cbor code for cbor headers.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss