mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
AK: Implement StringBuilder::append_as_lowercase(char ch)
This patch adds a convenience method to AK::StringBuilder which converts ASCII uppercase characters to lowercase before appending them.
This commit is contained in:
parent
df29d58e19
commit
f51b0729f5
2 changed files with 9 additions and 0 deletions
|
@ -28,6 +28,7 @@ public:
|
|||
void append(const char*, size_t);
|
||||
void appendvf(const char*, va_list);
|
||||
|
||||
void append_as_lowercase(char);
|
||||
void append_escaped_for_json(const StringView&);
|
||||
|
||||
template<typename... Parameters>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue