toOnionAddressV3OrNull

@JvmStatic
@JvmName(name = "getOrNull")
fun String.toOnionAddressV3OrNull(): OnionAddress.V3?(source)

Parses a String for a v3 .onion address.

String can be either a URL containing the v3 .onion address, or the v3 .onion address itself.

Return

OnionAddress.V3 or null if toOnionAddressV3 throws exception


@JvmStatic
@JvmName(name = "getOrNull")
fun ByteArray.toOnionAddressV3OrNull(): OnionAddress.V3?(source)

Transforms provided bytes into a v3 .onion address.

Return

OnionAddress.V3 or null if toOnionAddressV3 throws exception