aboutsummaryrefslogtreecommitdiff
path: root/zencore/base64.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-12-14 14:33:58 +0100
committerMartin Ridgers <[email protected]>2021-12-16 09:35:51 +0100
commitcd831e6d4b94b48e01050e1e9c35105dd7ef5834 (patch)
tree691f58c6d5addbcea79ef2cb0cddc4dfae7c749d /zencore/base64.cpp
parentAdded trace scopes. (diff)
downloadzen-cd831e6d4b94b48e01050e1e9c35105dd7ef5834.tar.xz
zen-cd831e6d4b94b48e01050e1e9c35105dd7ef5834.zip
Commented out unused Base64 decoding table
Diffstat (limited to 'zencore/base64.cpp')
-rw-r--r--zencore/base64.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/base64.cpp b/zencore/base64.cpp
index 9a6ea3b75..0448d7c2f 100644
--- a/zencore/base64.cpp
+++ b/zencore/base64.cpp
@@ -11,6 +11,7 @@ static const uint8_t EncodingAlphabet[64] = {'A', 'B', 'C', 'D', 'E', 'F', 'G',
'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'};
/** The table used to convert an ascii character into a 6 bit value */
+#if 0
static const uint8_t DecodingAlphabet[256] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0x00-0x0f
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0x10-0x1f
@@ -29,6 +30,7 @@ static const uint8_t DecodingAlphabet[256] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0xe0-0xef
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF // 0xf0-0xff
};
+#endif // 0
template<typename CharType>
uint32_t