|
|
| TelemetryCbor () |
| | Default constructor initializes both variants.
|
| |
| QCBOREncodeContext * | open_list (s64 key) |
| | Add a list to the Map. More...
|
| |
|
QCBOREncodeContext * | open_list (s64 key) |
| |
|
QCBOREncodeContext * | open_list (const char *key) |
| |
| QCBOREncodeContext * | open_map (s64 key) |
| | Add a nested dictionary to the Map. More...
|
| |
|
QCBOREncodeContext * | open_map (s64 key) |
| |
|
QCBOREncodeContext * | open_map (const char *key) |
| |
|
void | add_string (s64 key, const char *value) const |
| | Write a null-terminated string to the Map.
|
| |
|
void | add_null (s64 key) const |
| | Write a key with a null value to the Map.
|
| |
|
bool | close () |
| | Close the QCBOR encoder by calling QCBOREncode_Finish and copy the resulting bytes to m_dst, if one was provided.
|
| |
|
bool | close_and_finalize () |
| | Calls close() then m_dst.write_finalize().
|
| |
| UsefulBufC | get_encoded () |
| | Get encoded data as a UsefulBuf, useful if no dst was given. More...
|
| |
| satcat5::io::Readable * | get_buffer () |
| | Get encoded data as a Readable, useful if no dst was given. More...
|
| |
| void | close_list () |
| | Finish writing a list to the List. More...
|
| |
| void | close_map () |
| | Finish writing a nested dictionary to the Map. More...
|
| |
| QCBOREncodeContext * | open_list (const char * key) |
| | Add a list to the Map. More...
|
| |
|
QCBOREncodeContext * | open_list (s64 key) |
| |
| QCBOREncodeContext * | open_map (const char * key) |
| | Add a nested dictionary to the Map. More...
|
| |
|
QCBOREncodeContext * | open_map (s64 key) |
| |
|
void | add_string (const char * key, const char *value) const |
| | Write a null-terminated string to the Map.
|
| |
|
void | add_null (const char * key) const |
| | Write a key with a null value to the Map.
|
| |
|
|
void | add_bool (s64 key, bool value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, s8 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, s16 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, s32 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, s64 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, u8 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, u16 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, u32 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, u64 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, float value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (s64 key, double value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_bool (const char * key, bool value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, s8 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, s16 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, s32 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, s64 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, u8 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, u16 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, u32 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, u64 value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, float value) const |
| | Write a scalar value to the Map.
|
| |
|
void | add_item (const char * key, double value) const |
| | Write a scalar value to the Map.
|
| |
|
|
void | add_array (s64 key, u32 len, const bool *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const s8 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const s16 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const s32 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const s64 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const u8 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const u16 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const u32 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const u64 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const float *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (s64 key, u32 len, const double *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const bool *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const s8 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const s16 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const s32 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const s64 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const u8 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const u16 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const u32 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const u64 *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const float *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
void | add_array (const char * key, u32 len, const double *value) const |
| | Write an array of scalar values to the Map.
|
| |
|
|
void | add_bytes (s64 key, u32 len, const u8 *value) const |
| | Write a byte sequence to the Map.
|
| |
|
void | add_bytes (s64 key, const u8 *value, u32 len) const |
| | Write a byte sequence to the Map.
|
| |
|
void | add_bytes (const char * key, u32 len, const u8 *value) const |
| | Write a byte sequence to the Map.
|
| |
|
void | add_bytes (const char * key, const u8 *value, u32 len) const |
| | Write a byte sequence to the Map.
|
| |