xentara-utils v1.0
Xentara utilities library
xentara::utils::cbor Namespace Reference

Coroutine functionality. More...

Classes

class  Decoder
 A class that decodes CBOR data types that includes: unsigned integers, negative integers, byte strings, text strings encoded as UTF8, simple values and float-point number. More...
 
class  Encoder
 A class that encodes CBOR data types that includes: unsigned integers, negative integers, byte strings, text strings encoded as UTF8, simple values and float-point number. More...
 
struct  NullTag
 Type used to read and write special value 22 (null) from or to a CBOR stream. More...
 
struct  UndefinedTag
 Type used to read and write special value 23 (undefined) from or to a CBOR stream. More...
 

Enumerations

enum class  SimpleValue : std::uint8_t
 A class for simple values. More...
 

Variables

constexpr NullTag kNull
 A marker for special CBOR value 22 (null) More...
 
constexpr UndefinedTag kUndefined
 A marker for special CBOR value 23 (undefined) More...
 

Detailed Description

Coroutine functionality.

This namespace contains functionality related to C++ coroutines.

Enumeration Type Documentation

◆ SimpleValue

A class for simple values.

Variable Documentation

◆ kNull

constexpr NullTag xentara::utils::cbor::kNull
constexpr

A marker for special CBOR value 22 (null)

This marker is used to read and write special value 22 (null) from or to a CBOR stream

◆ kUndefined

constexpr UndefinedTag xentara::utils::cbor::kUndefined
constexpr

A marker for special CBOR value 23 (undefined)

This marker is used to read and write special value 23 (undefined) from or to a CBOR stream