mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
AK: Add StringView::copy_characters_to_buffer()
This commit is contained in:
parent
3237efc661
commit
8209c2b570
2 changed files with 14 additions and 0 deletions
|
@ -192,6 +192,8 @@ public:
|
|||
[[nodiscard]] StringView substring_view_starting_from_substring(StringView substring) const;
|
||||
[[nodiscard]] StringView substring_view_starting_after_substring(StringView substring) const;
|
||||
|
||||
[[nodiscard]] bool copy_characters_to_buffer(char* buffer, size_t buffer_size) const;
|
||||
|
||||
constexpr bool operator==(char const* cstring) const
|
||||
{
|
||||
if (is_null())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue