Package-level declarations
Types
Link copied to clipboard
object BaseN
Use this to manually encode/decode BaseN, but only if you know what you're doing! Originally created by CJS on 2018/7/14 without documentation and since -- even though it is extremely versatile -- it performs poorly, we better keep it like that. After all, we don't want to tempt folk to produce code that performs poorly.
Link copied to clipboard
class UVarInt
Unsigned varint datatype, MAX_VALUE=ULong.MAX_VALUE
Functions
Link copied to clipboard
Decodes this string into a ByteArray. This method throws Exceptions for strings that are not valid multibase encodings.
Link copied to clipboard
Encodes this ByteArray into the specified base.
Link copied to clipboard
Extension function to decode this ByteArray to an UVarInt using UVarInt.fromByteArray