mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
AK: Add OutputMemoryStream::is_end.
This commit is contained in:
parent
e7f5090808
commit
1a277ac291
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,8 @@ public:
|
|||
return nwritten;
|
||||
}
|
||||
|
||||
bool is_end() const { return remaining() == 0; }
|
||||
|
||||
ReadonlyBytes bytes() const { return { data(), size() }; }
|
||||
Bytes bytes() { return { data(), size() }; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue