aboutsummaryrefslogtreecommitdiff
path: root/xsig/src/base64.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'xsig/src/base64.hpp')
-rw-r--r--xsig/src/base64.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xsig/src/base64.hpp b/xsig/src/base64.hpp
index 70d4e40..2341ab5 100644
--- a/xsig/src/base64.hpp
+++ b/xsig/src/base64.hpp
@@ -3,7 +3,7 @@
#include <cstdint>
#include <string>
-class Base64Encoder
+class base64_encoder
{
private:
static const char *b64c;
@@ -11,12 +11,12 @@ private:
uint8_t rem;
std::string ret;
public:
- Base64Encoder();
+ base64_encoder();
void encode_data(const void *data, size_t len);
std::string finalize();
};
-class Base64Decoder
+class base64_decoder
{
private:
static const uint8_t b64v[];
@@ -27,7 +27,7 @@ private:
size_t bp;
std::string s;
public:
- Base64Decoder(std::string &&b);
+ base64_decoder(std::string &&b);
size_t decoded_length();
size_t decode_data(const void *data, size_t len);
};