MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / isCharacterOfBase32Encoding

Method isCharacterOfBase32Encoding

src/encoding/Base32.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected