pub fn read_frame_header( r: impl Read, ) -> Result<(Frame, u8), ReadFrameHeaderError>
Read a single serialized frame from the reader and return a tuple containing the parsed frame and the number of bytes read.