decodes an ASCII base32 string and returns it as ubyte[] data. Pre-allocates the size of the array.
This decoder will ignore non-base32 characters. So: SGVsbG8sIGhvd yBhcmUgeW91IH RvZGF5Pw==
Is valid.
what is to be decoded
char[] myDecodedString = cast(char[])decode("JBSWY3DPFQQGQ33XEBQXEZJAPFXXKIDUN5SGC6J7"); Stdout(myDecodeString).newline; // Hello, how are you today?
See Implementation
decodes an ASCII base32 string and returns it as ubyte[] data. Pre-allocates the size of the array.
This decoder will ignore non-base32 characters. So: SGVsbG8sIGhvd yBhcmUgeW91IH RvZGF5Pw==
Is valid.