File tree 1 file changed +13
-15
lines changed
1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,19 @@ namespace arduino { namespace hex {
22
22
String encodeUpper (const uint8_t * in, uint32_t size);
23
23
24
24
bool decode (const String in, uint8_t * out, uint32_t size);
25
+ }} // arduino::hex
25
26
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
- }
27
+ class THEXT {
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
+ }
39
35
40
- };
36
+ static inline bool decode (const String in, uint8_t * out, uint32_t size) {
37
+ return arduino::hex::decode (in, out, size);
38
+ }
41
39
42
- }} // arduino::hex
40
+ };
You can’t perform that action at this time.
0 commit comments