decode With Prefix Len
fun decodeWithPrefixLen(encoded: String, prefixLen: Int): Pair<ByteArray, ByteArray>
Content copied to clipboard
Decodes Base58 data that has been encoded with several bytes prefix
NB: requirement check will throw an IllegalArgumentException if the checksum that is part of the encoded data cannot be verified
Return
a (prefix, data) tuple
Parameters
encoded
encoded data