Lines Matching refs:base32Buffer
420 // base32Buffer: String containing BASE32
427 unsigned int DecodeBase32(const wxString &base32Buffer, unsigned int base32BufLen, unsigned char *buffer)
429 size_t nInputLen = base32Buffer.Length();
445 if (base32Buffer[i] >= wxT('A') && base32Buffer[i] <= wxT('Z')) {
446 nBits |= ( base32Buffer[i] - wxT('A') );
448 else if (base32Buffer[i] >= wxT('a') && base32Buffer[i] <= wxT('z')) {
449 nBits |= ( base32Buffer[i] - wxT('a') );
451 else if (base32Buffer[i] >= wxT('2') && base32Buffer[i] <= wxT('7')) {
452 nBits |= ( base32Buffer[i] - wxT('2') + 26 );