module

BaseX::Base32

Constants

DEFAULT = "0123456789ABCDEFGHJKMNPQRSTVWXYZ"
Z_BASE = "ybndrfg8ejkmcpqxot1uwisza345h769"

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