module BaseX::Base8

Extended Modules

Defined in:

base_x/base.cr

Constant Summary

DEFAULT = "01234567"

Instance Method Summary

Instance Method Detail

def decode(str : String, alphabet = DEFAULT) : Bytes #

[View source]
def decode_bytes(str : String, alphabet = DEFAULT) : Bytes #

[View source]
def decode_int(str : String, alphabet = DEFAULT) : BigInt #

[View source]
def encode(bytes : Bytes, alphabet = DEFAULT, leading_zeroes = true) : String #

[View source]
def encode(int : Number, alphabet = DEFAULT) : String #

[View source]