예제 #1
0
        public static PacketField <bool> ReadBooleanField(this IncomingPacket packet, string name)
        {
            Contract.Requires(packet != null);
            Contract.Requires(name != null);

            return(new PacketField <bool>(PacketFieldType.Boolean, packet.ReadBoolean(), name));
        }