mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
AK: Add convert_to_uint_from_octal
This commit is contained in:
parent
6ca34f5647
commit
9e97823ff8
Notes:
sideshowbarker
2024-07-17 22:26:51 +09:00
Author: https://github.com/xavier
Commit: 9e97823ff8
Pull-request: https://github.com/SerenityOS/serenity/pull/11319
Reviewed-by: https://github.com/bgianfo
3 changed files with 91 additions and 0 deletions
|
@ -56,6 +56,8 @@ template<typename T = unsigned>
|
|||
Optional<T> convert_to_uint(StringView, TrimWhitespace = TrimWhitespace::Yes);
|
||||
template<typename T = unsigned>
|
||||
Optional<T> convert_to_uint_from_hex(StringView, TrimWhitespace = TrimWhitespace::Yes);
|
||||
template<typename T = unsigned>
|
||||
Optional<T> convert_to_uint_from_octal(StringView, TrimWhitespace = TrimWhitespace::Yes);
|
||||
bool equals_ignoring_case(StringView, StringView);
|
||||
bool ends_with(StringView a, StringView b, CaseSensitivity);
|
||||
bool starts_with(StringView, StringView, CaseSensitivity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue