pub fn append_ext_frame( frame_code: ExtReqFrameCode, frame_body: &[u8], buf: &mut [u8], offset: &mut usize, ) -> Result<()>