pub fn new_empty_packet(packet_id: PacketId) -> Vec<u8> ⓘ
Initial a packet with PacketId
Packets posits:
PacketId
0x0
i32
uleb128
Note: The maximum value of u8 is 255, currently the largest packet id of bancho is 109, so never overflow.
u8
255
109