UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CborTypes.h File Reference

Go to the source code of this file.

Classes

class  FCborHeader
 
struct  FCborContext
 
class  ScopedCborArchiveEndianness
 

Enumerations

enum class  ECborCode : uint8 {
  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 ,
  ErrorContext = 0x5E , ErrorStringNesting = 0x7D , ErrorStringLength = 0x7E
}
 
enum class  ECborEndianness { Platform , BigEndian , LittleEndian , StandardCompliant = BigEndian }
 

Functions

 ENUM_CLASS_FLAGS (ECborCode)
 

Enumeration Type Documentation

◆ ECborCode

enum class ECborCode : uint8
strong

Possible cbor code for cbor headers.

See also
http://cbor.io
Enumerator
None 
Uint 
Int 
ByteString 
TextString 
Array 
Map 
Tag 
Prim 
Value_1Byte 
Value_2Bytes 
Value_4Bytes 
Value_8Bytes 
Unused_28 
Unused_29 
Unused_30 
Indefinite 
False 
True 
Null 
Undefined 
Break 
Dummy 
StreamEnd 
ErrorReservedItem 
ErrorStreamFailure 
ErrorBreak 
ErrorMapContainer 
ErrorContext 
ErrorStringNesting 
ErrorStringLength 

◆ ECborEndianness

enum class ECborEndianness
strong

Defines in which endianness the CBOR data must be written. The official endiannes is 'big endian' but Unreal use both.

Enumerator
Platform 

Read or write the CBOR using the current platform endianness.

BigEndian 

Read or write the CBOR data in big endian (CBOR standard compliant)

LittleEndian 

Read or write the CBOR data in little endian (Fine for internal usage, but not usable with CBOR standard tools)

StandardCompliant 

The endianness complying to the CBOR specifications.

Function Documentation

◆ ENUM_CLASS_FLAGS()

ENUM_CLASS_FLAGS ( ECborCode  )