mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
AK: Remove infallible version of StringBuilder::to_byte_buffer
Also drop the try_ prefix from the fallible function, as it is no longer needed to distinguish the two.
This commit is contained in:
parent
ad5e8f2742
commit
e76394d96c
13 changed files with 21 additions and 28 deletions
|
@ -68,8 +68,7 @@ public:
|
|||
ErrorOr<String> to_string() const;
|
||||
ErrorOr<FlyString> to_fly_string() const;
|
||||
|
||||
[[nodiscard]] ByteBuffer to_byte_buffer() const;
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> try_to_byte_buffer() const;
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> to_byte_buffer() const;
|
||||
|
||||
[[nodiscard]] StringView string_view() const;
|
||||
void clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue