pub fn write_ht_capabilities<B: Append>( buf: &mut B, ht_cap: &HtCapabilities, ) -> Result<(), FrameWriteError>