The standard _base32 encoding, containing A-Z, 2-7 and =.
The _base32 encoding with "extended hex alphabet", also known as "base32hex", containing 0-9, A-V, and =.
Exception thrown on errors in _base32 functions.
Implementation for _base32.
1 ubyte[] data = [0xde, 0xad, 0xbe, 0xef, 0x01, 0x23]; 2 3 const(char)[] encoded = Base32.encode(data); 4 assert(encoded == "32W353YBEM======"); 5 6 ubyte[] decoded = Base32.decode("32W353YBEM======"); 7 assert(decoded == [0xde, 0xad, 0xbe, 0xef, 0x01, 0x23]);
Copyright Kazuya Takahashi 2015.
Base32 encoder and decoder, according to RFC 4648.