mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted
No functional changes.
This commit is contained in:
parent
a3f73e7d85
commit
ecd1862859
46 changed files with 141 additions and 141 deletions
|
@ -81,7 +81,7 @@ ErrorOr<void> Name::write_to_stream(Stream& stream) const
|
|||
auto parts = as_string().split_view('.');
|
||||
for (auto& part : parts) {
|
||||
TRY(stream.write_value<u8>(part.length()));
|
||||
TRY(stream.write_entire_buffer(part.bytes()));
|
||||
TRY(stream.write_until_depleted(part.bytes()));
|
||||
}
|
||||
TRY(stream.write_value('\0'));
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue