例如,如果我有像172.20.10.0/24这样的网络规范,那么"24"就是bitcount.将其转换为像0xffffff00这样的网络掩码的最佳方法是什么?
networking bit-manipulation
bit-manipulation ×1
networking ×1