decodeWithPrefixLen

fun decodeWithPrefixLen(encoded: String, prefixLen: Int): Pair<ByteArray, ByteArray>

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