NSString *color = model.display_color; long colorLong = strtoul([color cStringUsingEncoding:NSUTF8StringEncoding], 0, 16); // 通过位与方法获取三色值 int R = (colorLong & 0xFF0000 )>>16; int G = (colorLong & 0x00FF00 )>>8; int B = colorLong &
route -n 时你总能看到这样一条路由Destination Gateway Genmask Flags Metric Ref Use Iface169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0由RFC3330 可知 169.254.0.0/16 为本地链路地址“169.254.0.0/16 – This is the “link local” block. It is allocated forcommunication between hos