Skip to content

Struct SYN_CborWriter

ClassList > SYN_CborWriter

CBOR encoder state. Caller-allocated; zero heap.

  • #include <syn_cbor_write.h>

Public Attributes

Type Name
uint8_t * buf
size_t cap
size_t len
bool overflow

Public Attributes Documentation

variable buf

uint8_t* SYN_CborWriter::buf;

Output buffer


variable cap

size_t SYN_CborWriter::cap;

Buffer capacity in bytes


variable len

size_t SYN_CborWriter::len;

Bytes encoded so far


variable overflow

bool SYN_CborWriter::overflow;

Set if buffer capacity exceeded



The documentation for this class was generated from the following file src/syntropic/util/syn_cbor_write.h