mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:57:35 +00:00
HexEditor: Port to Core::Stream
This commit is contained in:
parent
b1d8404c92
commit
3d914247cc
7 changed files with 58 additions and 57 deletions
|
@ -35,10 +35,10 @@ public:
|
|||
|
||||
size_t buffer_size() const { return m_document->size(); }
|
||||
ErrorOr<void> open_new_file(size_t size);
|
||||
void open_file(NonnullRefPtr<Core::File> file);
|
||||
void open_file(NonnullOwnPtr<Core::Stream::File> file);
|
||||
ErrorOr<void> fill_selection(u8 fill_byte);
|
||||
Optional<u8> get_byte(size_t position);
|
||||
bool save_as(NonnullRefPtr<Core::File>);
|
||||
bool save_as(NonnullOwnPtr<Core::Stream::File>);
|
||||
bool save();
|
||||
|
||||
bool undo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue