mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
AK: StringUtils, add "convert_to_uint_from_hex" method
New method to convert hex string unsigned integer.
This commit is contained in:
parent
9300a8cfe5
commit
738235574f
2 changed files with 33 additions and 1 deletions
|
@ -41,8 +41,8 @@ namespace StringUtils {
|
|||
bool matches(const StringView& str, const StringView& mask, CaseSensitivity = CaseSensitivity::CaseInsensitive);
|
||||
int convert_to_int(const StringView&, bool& ok);
|
||||
unsigned convert_to_uint(const StringView&, bool& ok);
|
||||
unsigned convert_to_uint_from_hex(const StringView&, bool& ok);
|
||||
bool equals_ignoring_case(const StringView&, const StringView&);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue