Skip to main content

parse_beef

Function parse_beef 

Source
pub fn parse_beef(bytes: &[u8], _door: &BeefLimits) -> Result<Beef>
Expand description

The streaming door, then the in-memory Beef for a caller that builds with one. The refusal is for invalid bytes and reads invalid BEEF at byte <offset>: <kind and its data>. _door names where the reader stands; nothing of it is consulted.