@DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2013-12-30 12:36:21.616 -0500", hash_original_method = "F5BF0DDF083843E14FDE0C117BAE250E", hash_generated_method = "E1C3BB6772CE07721D8608A1E4D81EE1" ) fun netmaskIntToPrefixLength(netmask: Int): Int { return Integer.bitCount(netmask) }
Convert a IPv4 netmask integer to a prefix length