Beispiel #1
0
        public static PacketField <double> ReadDoubleField(this IncomingPacket packet, string name)
        {
            Contract.Requires(packet != null);
            Contract.Requires(name != null);

            return(new PacketField <double>(PacketFieldType.Double, packet.ReadDouble(), name));
        }