We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffafc52 commit b4982a0Copy full SHA for b4982a0
src/hex/hex.h
@@ -23,4 +23,20 @@ namespace arduino { namespace hex {
23
24
bool decode(const String in, uint8_t* out, uint32_t size);
25
26
+ class THEXT {
27
+
28
+ public:
29
+ static inline String encode(const uint8_t* in, uint32_t size) {
30
+ return arduino::hex::encode(in, size);
31
+ }
32
+ static inline String encodeUpper(const uint8_t* in, uint32_t size) {
33
+ return arduino::hex::encodeUpper(in, size);
34
35
36
+ static inline bool decode(const String in, uint8_t* out, uint32_t size) {
37
+ return arduino::hex::decode(in, out, size);
38
39
40
+ };
41
42
}} // arduino::hex
0 commit comments