decodeWithIntPrefix

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

Decodes Base58 data that has been encoded with an integer 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