aboutsummaryrefslogtreecommitdiff
path: root/src/util/base64.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2017-10-06 14:26:44 +0200
committerAdrian Kummerlaender2017-10-06 14:26:44 +0200
commit538236772ce6edde390079c32533c1e70cf8bdca (patch)
tree1303d22cb092bcf8bb5fadbe4b0ea886eceb1ffa /src/util/base64.h
parentc953c72c86c281d650b2a8ff856e3d614664e11a (diff)
downloadDictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.tar
DictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.tar.gz
DictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.tar.bz2
DictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.tar.lz
DictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.tar.xz
DictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.tar.zst
DictzipQuery-538236772ce6edde390079c32533c1e70cf8bdca.zip
Implement BASE64 decoding of locations given by dictionary index
Diffstat (limited to 'src/util/base64.h')
-rw-r--r--src/util/base64.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/base64.h b/src/util/base64.h
new file mode 100644
index 0000000..448609d
--- /dev/null
+++ b/src/util/base64.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <cstdint>
+#include <string>
+
+namespace dictzip {
+
+std::size_t base64_decode(const std::string& encoded);
+
+}