Decodes an opaque data blob with COBS using 0 as the sentinel value. Returns
the number of bytes the decoding took. Returns an error if the output buffer
is too small or if the input is malformed.
Encodes an opaque data blob with COBS using 0 as the sentinel value. Returns
the number of bytes the encoding took. Returns an error if the output buffer
is too small.