static void fixhex(const char* source, char* dst, size_t len) {