CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::CBOR::Unknown Struct Reference

Represents an unknown CBOR opcode. More...

#include <CeresEngine/Foundation/CBOR.hpp>

Public Attributes

UInt64 minor
 Represents the minor type of the unknown CBOR opcode.
 

Detailed Description

Represents an unknown CBOR opcode.

An opcode in this context refers to the operation code, a unique number assigned to a specific operation. Examples of opcodes in CBOR could include different data types or commands. 'Unknown' can be used when the opcode doesn't match any of the predefined set.

Each Unknown object holds the 'minor' type of the opcode. In CBOR, data items have a major and a minor type. The major type represents the type of the data (such as unsigned integers, strings, arrays, or maps), whilst the minor type provides more specific information. For example, the minor type may specify the length of the array or map.

Member Data Documentation

◆ minor

UInt64 CeresEngine::CBOR::Unknown::minor

Represents the minor type of the unknown CBOR opcode.

In the context of CBOR, each data item carries a major type and a minor type, the major type indicates the type of data (unsigned integer, string, array, map, etc.), and the minor type provides additional specific information, for example, specifying the length of an array or map.


The documentation for this struct was generated from the following file: