File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ int fromHex(char _i, WhenError _throw);
453453
454454// / Converts a (printable) ASCII hex string into the corresponding byte stream.
455455// / @example fromHex("41626261") == asBytes("Abba")
456- // / If _throw = ThrowType ::DontThrow, it replaces bad hex characters with 0's , otherwise it will throw an exception.
456+ // / If _throw = WhenError ::DontThrow, it returns an empty bytes array on any validation error , otherwise it will throw an exception.
457457bytes fromHex (std::string const & _s, WhenError _throw = WhenError::DontThrow);
458458// / Converts byte array to a string containing the same (binary) data. Unless
459459// / the byte array happens to contain ASCII data, this won't be printable.
You can’t perform that action at this time.
0 commit comments