toOnionAddressOrNull

Parses a String for any .onion address.

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

Currently, only v3 .onion addresses are supported.

Return

OnionAddress or null


Transforms provided bytes into a .onion address.

Currently, only v3 .onion addresses are supported.

Return

OnionAddress or null