From 577f49b25c22a267fb3a29af5832f7ab0c2f4769 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Fri, 16 Sep 2022 18:18:03 -0400 Subject: Dunno why I used pascal case in the first place... --- xsig/src/base64.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xsig/src/base64.hpp') 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 #include -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); }; -- cgit v1.2.3