Struct 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¶
Output buffer
variable cap¶
Buffer capacity in bytes
variable len¶
Bytes encoded so far
variable overflow¶
Set if buffer capacity exceeded
The documentation for this class was generated from the following file src/syntropic/util/syn_cbor_write.h