Convert a hex string of exactly 2 chars to int ! @example String2Byte("10") => 16 */
| 23 | //! Convert a hex string of exactly 2 chars to int |
| 24 | /*! @example String2Byte("10") => 16 */ |
| 25 | inline static int String2Byte(const char* s) { |
| 26 | return Char2Digit(*s) * 16 + Char2Digit(*(s + 1)); |
| 27 | } |
| 28 | |
| 29 | char* HexEncode(const void* in, size_t len, char* out); |
| 30 |
no test coverage detected