ASCII Hex to C++ Literal


Do you ever have a blob of HEX that you want to get into a c++ buffer?
const char* blob = "\x41\x53\x43\x49\x49";
This makes that easier. It also gives you the count in case you're passing it to a (ptr,len) method.
Note that all white-space from the HEX box will be ignored.
{ "loggedin": false, "admin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "G-SGN2S75X5V", "description": "Online conversion of an ASCII-HEX string to the format in which it can be pasted into C++ code as a string literal.", "page": { "trial": false }, "domain": "holtstrom.com", "base": "\/michael", "url": "https:\/\/holtstrom.com\/michael\/", "frameworkFiles": "https:\/\/holtstrom.com\/michael\/_framework\/_files.7\/", "commonFiles": "https:\/\/holtstrom.com\/michael\/_common\/_files.4\/", "mediaFiles": "https:\/\/holtstrom.com\/michael\/media\/_files.2\/", "clockFiles": "https:\/\/holtstrom.com\/michael\/clock\/_files.1\/" }