decode

open fun decode(string: String): Array<Byte>

Decodes a Base58 string, checking the checksum. Returns null if the string is not a valid Base58 string.

Return

the decoded data, empty if the string is not a valid Base58 string with checksum.

Parameters

string

The Base58 string to decode.