module

BaseX::Base62

Constants

DEFAULT = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

Instance methods

decode(str : String, alphabet = DEFAULT) : Bytes
Source
decode_bytes(str : String, alphabet = DEFAULT) : Bytes
Source
decode_int(str : String, alphabet = DEFAULT) : BigInt
Source
encode(bytes : Bytes, alphabet = DEFAULT, leading_zeroes = true) : String
Source
encode(int : Number, alphabet = DEFAULT) : String
Source