Skip to main content

read_framed_bytes_with

Function read_framed_bytes_with 

Source
pub fn read_framed_bytes_with(read_word: impl FnMut() -> u32) -> Vec<u8> 
Expand description

Read one framed payload from a word source.

The provided callback must yield the frame length word first, then payload words.