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

Concise Binary Object Representation (CBOR) More...

#include <CeresEngine/Foundation/CBOR.hpp>

Classes

struct  Array
 Represents a CBOR array. More...
 
struct  Binary
 Represents a CBOR byte string (or binary). More...
 
struct  Break
 Represents a CBOR break. More...
 
class  Decoder
 The Decoder class is a CBOR (Concise Binary Object Representation) decoder that provides an abstraction for deserializing CBOR data from an input stream. More...
 
class  Encoder
 The Encoder class is a CBOR (Concise Binary Object Representation) encoder that provides an abstraction for serializing CBOR data to an output stream. More...
 
struct  Map
 Represents a CBOR map. More...
 
struct  Tag
 Represents a CBOR tag. More...
 
struct  Undefined
 Represents a CBOR undefined type. More...
 
struct  Unknown
 Represents an unknown CBOR opcode. More...
 
class  Value
 The Value class represents a data holder in the CBOR encoder or decoder. More...
 

Public Types

enum class  ValueType : UInt8 {
  UInt64 , Int64 , Float , Double ,
  Boolean , String , Binary , Null ,
  Undefined , Array , Map , Tag ,
  Break , Unknown
}
 An enumeration of all possible types. More...
 

Detailed Description

Concise Binary Object Representation (CBOR)

The Concise Binary Object Representation (CBOR) is a data format whose design goals include the possibility of extremely small code size, fairly small message size, and extensibility without the need for version negotiation.

This class implements RFC 8949.

Member Enumeration Documentation

◆ ValueType

An enumeration of all possible types.

Enumerator
UInt64 

The value is of UInt64 type.

Int64 

The value is of Int64 type.

Float 

The value is of Float type.

Double 

The value is of Double type.

Boolean 

The value is of Boolean type.

String 

The value is of String type.

Binary 

The value is of Binary type.

Null 

The value is of Null type.

Undefined 

The value is of Undefined type.

Array 

The value is of Array type.

Map 

The value is of Map type.

Tag 

The value is of Tag type.

Break 

The value is of Break type.

Unknown 

The value is of Unknown type.


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