verify function

void verify(
  1. Uint8List data
)

Checks that data holds exactly one complete CBOR item within the subset this package accepts.

Checks UTF-8 text, deterministic integer and length encodings, integer map keys in order without duplicates, and the nesting limit. It does not validate application-specific schemas or values.

Throws if data breaks any of these rules.

Implementation

void verify(Uint8List data) => ffi.cborVerify(data: data);