|
Monado OpenXR Runtime
|
Code to decode and encode COBS (Consistent Overhead Byte Stuffing) data. More...

Macros | |
| #define | PACKET_DELIMITER 0x00 |
Functions | |
| int | u_cobs_decoder_create (size_t buffer_size, cobs_callback_t callback, void *user_data, struct u_cobs_decoder *out_decoder) |
| Creates a new COBS decoder. | |
| void | u_cobs_decoder_destroy (struct u_cobs_decoder *cobs) |
| Destroys a COBS decoder previously created by u_cobs_decoder_create. | |
| int | u_cobs_push_bytes (struct u_cobs_decoder *cobs, const uint8_t *data, size_t length) |
| Pushes bytes into the COBS decoder. | |
| int | u_cobs_encode (const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size) |
| Encodes a single packet using COBS. | |
Code to decode and encode COBS (Consistent Overhead Byte Stuffing) data.