Lite³
A JSON-Compatible Zero-Copy Serialization Format
Loading...
Searching...
No Matches
lite3_val Struct Reference

Struct representing a value inside a Lite³ buffer. More...

#include <lite3.h>

Data Fields

uint8_t type
 
uint8_t val []
 

Detailed Description

Struct representing a value inside a Lite³ buffer.

Lite³ prefixes all values with a 1-byte type tag, similar to tagged unions. To discover types inside a message, compare against the lite3_val.type field.

See lite3_val functions.

Definition at line 531 of file lite3.h.

Field Documentation

◆ type

uint8_t lite3_val::type

Definition at line 532 of file lite3.h.

◆ val

uint8_t lite3_val::val[]

Definition at line 533 of file lite3.h.


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