COBSReduced._errMethod

reporting for decoding errors (a marker byte in the wrong location)

COBSReduced.cobs_decodeMethod
cobs_decode(buffer; reduced = false, marker = 0x00)

Return result of decoding `inputdata` from COBS or COBS/R packet format.
If `reduced` is true will use the COBS/R protocol, if false the COBS protocol.
The `marker` defaults to zero but may be any byte from 0 to 254.
See also: COBS: www.stuartcheshire.org/papers/COBSforToN.pdf
          COBS/R: pythonhosted.org/cobs/cobsr-intro.html
COBSReduced.cobs_encodeMethod
cobs_encode(data; reduced = false, marker = 0x00)

Return result of encoding `inputdata` into COBS or COBS/R packet format.
If `reduced` is true will use the COBS/R protocol, if false the COBS protocol.
The `marker` defaults to zero but may be any byte from 0 to 254.
See also: COBS: www.stuartcheshire.org/papers/COBSforToN.pdf
          COBS/R: pythonhosted.org/cobs/cobsr-intro.html
COBSReduced.setCOBSerrormodeMethod
setCOBSerrormode(mode::Symbol)

Set decoding error reporting mode. Default is :IGNORE. :WARN prints to stderr, :THROW will cause error exit.