laurencelundblade / QCBOR

Comprehensive, powerful, commercial-quality CBOR encoder/ decoder that is still suited for small devices.
Other
181 stars 47 forks source link

Add SetError(); VGetNext error bug fix #214

Closed laurencelundblade closed 5 months ago

laurencelundblade commented 5 months ago

Add SetError() method and user-defined error range.

Fix bug were VGetNext was not setting the label and data type to NONE when in the error state. This is only a factor if you were counting on the label and data type being NONE on error.

This is to address #210