Esempio n. 1
0
        public static PacketField <BigInteger> ReadBigIntegerField(this IncomingPacket packet, string name)
        {
            Contract.Requires(packet != null);
            Contract.Requires(name != null);
            Contract.Ensures(Contract.Result <PacketField <BigInteger> >().Value != null);

            return(new PacketField <BigInteger>(PacketFieldType.BigInteger, packet.ReadBigInteger(), name));
        }