ip16ToStr

Converts a 16-byte IP address to a string.

nothrow @safe
size_t
ip16ToStr
(
scope char[] output
,
scope const(ubyte)[] ip16
)

Parameters

output char[]

Buffer to store the IP string (must be at least IPCRYPT_MAX_IP_STR_BYTES).

ip16 const(ubyte)[]

The 16-byte IP address.

Return Value

Type: size_t

The length of the IP string, or 0 on error.

Meta