1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html 2 3 #ifndef SPECTMORPH_HEX_STRING_HH 4 #define SPECTMORPH_HEX_STRING_HH 5 6 #include <vector> 7 #include <string> 8 9 namespace SpectMorph 10 { 11 12 namespace HexString 13 { 14 15 bool decode (const std::string& str, std::vector<unsigned char>& out); 16 std::string encode (const std::vector<unsigned char>& data); 17 18 } 19 20 } 21 22 #endif 23