ipStrToIP16

Converts an IP address string to a 16-byte representation.

nothrow @safe
ubyte[IPCRYPT_KEYBYTES]
ipStrToIP16
(
scope const(char)[] ipStr
)

Parameters

ipStr const(char)[]

The IP address string (IPv4 or IPv6).

Return Value

Type: ubyte[IPCRYPT_KEYBYTES]

The 16-byte IP address.

Meta