mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
AK: Add OutputBufferedStream
This class, in a similar fashion to what has been done with `InputBufferedStream`, postpones write to the stream until an internal buffer is full. This patch also adds the `OutputBufferedFile` alias.
This commit is contained in:
parent
8c34959b53
commit
af6dc267d3
2 changed files with 76 additions and 0 deletions
|
@ -106,5 +106,6 @@ private:
|
|||
AK_ENUM_BITWISE_OPERATORS(File::OpenMode)
|
||||
|
||||
using InputBufferedFile = InputBufferedSeekable<File>;
|
||||
using OutputBufferedFile = OutputBufferedStream<File>;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue