| 7 | namespace encoding { |
| 8 | |
| 9 | bool Base32::isCharacterOfBase32Encoding(QChar const& inputChar) { |
| 10 | // Valid are 2 ... 7 and A ... Z |
| 11 | ushort const inputCharUnicodeValue = inputChar.unicode(); |
| 12 | if (((inputCharUnicodeValue >= '2') && (inputCharUnicodeValue <= '7')) || ((inputCharUnicodeValue >= 'A') && (inputCharUnicodeValue <= 'Z'))) { |
| 13 | return true; |
| 14 | } |
| 15 | return false; |
| 16 | } |
| 17 | |
| 18 | char Base32::convert5BitValueToChar(char inputChar) { |
| 19 | if (inputChar > 31) { |
nothing calls this directly
no outgoing calls
no test coverage detected