summaryrefslogtreecommitdiff
path: root/src/GeneralUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralUtils.h')
-rw-r--r--src/GeneralUtils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GeneralUtils.h b/src/GeneralUtils.h
index 152abca..ce75e43 100644
--- a/src/GeneralUtils.h
+++ b/src/GeneralUtils.h
@@ -18,11 +18,13 @@ class GeneralUtils {
public:
GeneralUtils();
virtual ~GeneralUtils();
- static void hexDump(uint8_t *pData, uint32_t length);
- static std::string ipToString(uint8_t *ip);
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();
};
#endif /* COMPONENTS_CPP_UTILS_GENERALUTILS_H_ */