Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
to_cobs ?delim bytes
is a bytes
containing a COBS-encoded representation of the given bytes
, using the provided delim
iter (defaults to '\000'
).
The encoded representation will not end with a delimiter byte; if it is necessary, you must append it to the output of to_cobs
.
from_cobs bytes
is a bytes
containing the result of COBS-decoding the given bytes
, using the provided delim
iter (defaults to '\000'
).
bytes
is expected to not end with the delimiter byte; if present, it should be stripped before passing the data to from_cobs
.