aboutsummaryrefslogtreecommitdiff
path: root/zencore/base64.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-12-16 10:49:03 +0100
committerPer Larsson <[email protected]>2021-12-16 10:49:03 +0100
commit8888bc04fb8c9bca7b32d61f98bd437bbb4826c8 (patch)
tree7568360f26a557cf6dc4482bef00bc33eaf6bbc2 /zencore/base64.cpp
parentA little better bundle task with trace support. (diff)
parentUse a CAS loop if atomic<Floating>::fetch_add() isn't available (diff)
downloadzen-8888bc04fb8c9bca7b32d61f98bd437bbb4826c8.tar.xz
zen-8888bc04fb8c9bca7b32d61f98bd437bbb4826c8.zip
Merge branch 'main' of https://github.com/EpicGames/zen
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