+#pragma once
+
+// This (config) is needed as inspstring doesn't pull in the central header
+#include "config.h"
+#include <cstring>
+
+/** Compose a hex string from raw data.
+ * @param raw The raw data to compose hex from (can be NULL if rawsize is 0)
+ * @param rawsize The size of the raw data buffer
+ * @return The hex string
+ */
+CoreExport std::string BinToHex(const void* raw, size_t rawsize);