verify function
Validates that the given bytes are well-formed CBOR.
This performs strict validation including:
- Valid CBOR structure (headers, nesting)
- UTF-8 validation for text strings
- Integer map keys in deterministic order
Throws an exception if the bytes are not valid CBOR.
Implementation
void verify(Uint8List data) => ffi.cborVerify(data: data);