pub fn encode_frame_raw<F>( flav: F, hdr: &CommonHeader, key: Option<&Key>, body: &[u8], ) -> Result<F::Output, ()>where F: Flavor,