summaryrefslogtreecommitdiff
path: root/src/GeneralUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralUtils.h')
-rw-r--r--src/GeneralUtils.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/GeneralUtils.h b/src/GeneralUtils.h
index ce75e43..2d55abf 100644
--- a/src/GeneralUtils.h
+++ b/src/GeneralUtils.h
@@ -16,15 +16,13 @@
*/
class GeneralUtils {
public:
- GeneralUtils();
- virtual ~GeneralUtils();
- static bool base64Encode(const std::string &in, std::string *out);
- static bool base64Decode(const std::string &in, std::string *out);
- static bool endsWith(std::string str, char c);
- static const char *errorToString(esp_err_t errCode);
- static void hexDump(const uint8_t *pData, uint32_t length);
- static std::string ipToString(uint8_t *ip);
- static void restart();
+ static bool base64Decode(const std::string& in, std::string* out);
+ static bool base64Encode(const std::string& in, std::string* out);
+ static bool endsWith(std::string str, char c);
+ static const char* errorToString(esp_err_t errCode);
+ static void hexDump(const uint8_t* pData, uint32_t length);
+ static std::string ipToString(uint8_t* ip);
+ static void restart();
};
#endif /* COMPONENTS_CPP_UTILS_GENERALUTILS_H_ */