Esempio n. 1
0
        public static PacketField <decimal> ReadDecimalField(this IncomingPacket packet, string name)
        {
            Contract.Requires(packet != null);
            Contract.Requires(name != null);

            return(new PacketField <decimal>(PacketFieldType.Decimal, packet.ReadDecimal(), name));
        }