| 31 | TString HexEncode(const void* in, size_t len); |
| 32 | |
| 33 | inline TString HexEncode(const TStringBuf h) { |
| 34 | return HexEncode(h.data(), h.size()); |
| 35 | } |
| 36 | |
| 37 | //! Convert a hex string @c in of @c len chars (case-insensitive) to array of ints stored at @c ptr and return this array. |
| 38 | /*! @note len must be even (len % 2 == 0), otherwise an exception will be thrown. |