Function read_frame_header

Source
pub fn read_frame_header(
    r: impl Read,
) -> Result<(Frame, u8), ReadFrameHeaderError>
Expand description

Read a single serialized frame from the reader and return a tuple containing the parsed frame and the number of bytes read.