You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, when cbor_event deserializes from a BufRead instance, it only calls fill_buf when calling get (and then only once), not when calling advance. So, any arbitrary parsing function may potentially return a NotEnough error in the middle of its parsing, requiring any higher-level protocol parsing built atop that to handle any parsing function failing with NotEnough and retry after fetching more data.
The text was updated successfully, but these errors were encountered:
As far as I can tell, when cbor_event deserializes from a
BufRead
instance, it only callsfill_buf
when callingget
(and then only once), not when callingadvance
. So, any arbitrary parsing function may potentially return aNotEnough
error in the middle of its parsing, requiring any higher-level protocol parsing built atop that to handle any parsing function failing withNotEnough
and retry after fetching more data.The text was updated successfully, but these errors were encountered: