mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:17:43 +00:00
GIODevice: Add a read_all() that returns a ByteBuffer with all we can read.
Use this to implement file opening in TextEditor.
This commit is contained in:
parent
8e3d0a23d5
commit
9ad076178a
6 changed files with 58 additions and 25 deletions
|
@ -100,6 +100,7 @@ public:
|
|||
}
|
||||
|
||||
ByteBuffer to_byte_buffer() const;
|
||||
static String from_byte_buffer(const ByteBuffer&);
|
||||
|
||||
static String format(const char*, ...);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue