fromHexStringAsRange
fn
auto fromHexStringAsRange(String)(String hex) if (isSomeString!String) @safe pure nothrow @nogcConverts a hex text string to a range of bytes.
The input to this function MUST be valid.
isHexString can be used to check for this if needed.
Parameters
hex | String representation of a hexdecimal-encoded byte array. |
Returns
A forward range of bytes.