Skip to content

Instantly share code, notes, and snippets.

mide42

  • Germany
Block or report user

Report or block mide42

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mide42
mide42 / Method_ipAsIntToStr.java
Created Jul 6, 2014
Method to convert IPv4 address contained in a single int-value into string
View Method_ipAsIntToStr.java
/**
* Get string with IPv4 address contained in a single
* int-value. This format for IP addresses is
* used by class {@link android.net.DhcpInfo}
* (public member variables, e.g. <i>gateway</i>
* or <i>dns1</i>).
*
* @param ipAsInt IP encoded as int-value
* @return String with IP address, for example <i>127.0.0.1</i>
*/
You can’t perform that action at this time.