Address4.toUInt

Converts this address to an unsigned integer in host byte order.

struct Address4
const @nogc nothrow pure @safe
uint
toUInt
()

Return Value

Type: uint

This address as an unsigned integer in host byte order.

Examples

assert(address4("127.0.0.1").get.toUInt() == 0x7f000001U);

Meta