summaryrefslogtreecommitdiff
path: root/plugins/Quotes/Base64.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/Base64.h')
-rw-r--r--plugins/Quotes/Base64.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/Quotes/Base64.h b/plugins/Quotes/Base64.h
new file mode 100644
index 0000000000..3f911bfeb8
--- /dev/null
+++ b/plugins/Quotes/Base64.h
@@ -0,0 +1,12 @@
+#ifndef __FBB8ABCA_315E_4ace_B2EB_51E03AD6F8D1_Base64_h__
+#define __FBB8ABCA_315E_4ace_B2EB_51E03AD6F8D1_Base64_h__
+
+#pragma once
+
+namespace base64
+{
+ bool encode(const BYTE* in, size_t inlen,std::vector<char>& out);
+ bool decode(const char* in, size_t inlen,std::vector<BYTE>& out);
+}
+
+#endif //__FBB8ABCA_315E_4ace_B2EB_51E03AD6F8D1_Base64_h__