Companion

Functions

Link copied to clipboard
@JvmStatic
@JvmName(name = "get")
fun ByteArray.toOnionAddressV3(): OnionAddress.V3

Transforms provided bytes into a v3 .onion address.

@JvmStatic
@JvmName(name = "get")
fun String.toOnionAddressV3(): OnionAddress.V3

Parses a String for a v3 .onion address.

Link copied to clipboard
@JvmStatic
@JvmName(name = "getOrNull")
fun ByteArray.toOnionAddressV3OrNull(): OnionAddress.V3?

Transforms provided bytes into a v3 .onion address.

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

Parses a String for a v3 .onion address.