-
Notifications
You must be signed in to change notification settings - Fork 6
sniffable
Henk van Cann edited this page Dec 5, 2023
·
2 revisions
A stream is sniffable as soon as it starts with a group code or field map; in fact this is how our parser (Parside) works. and detects if the CESR stream contains a certain datablock. The datablock of CESR binary, CESR Text, JSON, CBOR, MGPK have an Object code or the Group code (binary or text) and it's always a recognizable and unique three bit combination.
We have the Cold start problem of a stream: you don't where to start recognizing structured data.
So a stream is either sniffable or not, when it has or has not the fore-mentioned group- or object-codes.
Source: Sam Smith, Zoom Meeting KERI, Dec 5 2023