Android Utililty Methods Int to IP Convert

List of utility methods to do Int to IP Convert

Description

The list of methods to do Int to IP Convert are organized into topic(s).

Method

StringintToIpaddr(int i)
int To Ipaddr
return (i & 0xFF) + "." + ((i >> 8) & 0xFF) + "."
        + ((i >> 16) & 0xFF) + "." + ((i >> 24) & 0xFF);
StringintToIp(int i)
int To Ip
return (i & 0xFF) + "." + ((i >> 8) & 0xFF) + "."
        + ((i >> 16) & 0xFF) + "." + (i >> 24 & 0xFF);