Fix new found spelling mistakes and add exceptions

This commit is contained in:
Mathias Baumann
2019-05-21 10:59:34 +02:00
parent e324deabd6
commit cbf81b123a
5 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ enum class HexCase
/// @example toHex("A\x69") == "4169"
std::string toHex(bytes const& _data, HexPrefix _prefix = HexPrefix::DontAdd, HexCase _case = HexCase::Lower);
/// Converts a (printable) ASCII hex character into the correspnding integer value.
/// Converts a (printable) ASCII hex character into the corresponding integer value.
/// @example fromHex('A') == 10 && fromHex('f') == 15 && fromHex('5') == 5
int fromHex(char _i, WhenError _throw);