public void Decode(byte[] packet, ref int offset) { Ip = PacketUtil.DecodeString(packet, ref offset); Port = PacketUtil.DecodeUInt32(packet, ref offset); Name = PacketUtil.DecodeString(packet, ref offset); }
public void Decode(byte[] packet, ref int offset) { Ip = PacketUtil.DecodeString(packet, ref offset); Port = PacketUtil.DecodeUInt32(packet, ref offset); Name = PacketUtil.DecodeString(packet, ref offset); }