Use writevarint62 instead of writeuint8 to write the frame type in ietf quic as the ietf draft specifies that the frame_type uses variable length integer encoding. no behavior change.

PiperOrigin-RevId: 317891303
Change-Id: Ic27606c0ba76a0f6e20f8c8eac384a2089fb8305
diff --git a/quic/core/quic_framer.h b/quic/core/quic_framer.h
index 0aa5bbf..2fc2037 100644
--- a/quic/core/quic_framer.h
+++ b/quic/core/quic_framer.h
@@ -481,9 +481,9 @@
   bool AppendTypeByte(const QuicFrame& frame,
                       bool last_frame_in_packet,
                       QuicDataWriter* writer);
-  bool AppendIetfTypeByte(const QuicFrame& frame,
-                          bool last_frame_in_packet,
-                          QuicDataWriter* writer);
+  bool AppendIetfFrameType(const QuicFrame& frame,
+                           bool last_frame_in_packet,
+                           QuicDataWriter* writer);
   size_t AppendIetfFrames(const QuicFrames& frames, QuicDataWriter* writer);
   bool AppendStreamFrame(const QuicStreamFrame& frame,
                          bool last_frame_in_packet,