51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef HEX_HEADER
-#define HEX_HEADER
+#pragma once
#include <string>
static inline std::string hex_encode(const char *data, unsigned int data_size)
{
std::string ret;
+ ret.reserve(data_size * 2);
+
char buf2[3];
buf2[2] = '\0';
return false;
return true;
}
-
-#endif