FCborHeader

Class that represent a cbor header

Choose your operating system:

Windows

macOS

Linux

References

Module

Cbor

Header

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

Include

#include "CborTypes.h"

Syntax

class FCborHeader

Remarks

Class that represent a cbor header

Constructors

Name Description

Public function

FCborHeader

(
    uint8 InHeader
)

Public function

FCborHeader

(
    ECborCode InHeader
)

Functions

Name Description

Public function Const

ECborCode

 

AdditionalValue()

Get the additional value part of the cbor header.

Public function Const

ECborCode

 

MajorType()

Get the major type part of the cbor header.

Public function Const

uint8

 

Raw()

Get the cbor header as a uint8

Public function Const

ECborCode

 

RawCode()

Get the cbor header raw code.

Public function

void

 

Set

(
    ECborCode Code
)

Set a cbor code for the header.

Public function

void

 

Set

(
    uint8 Code
)

Set a cbor code as a uint8.