public override void Clear() { ushort packetId = PacketId; base.Clear(); PutUInt16(0); // Size PutUInt16(packetId); // PacketId }