mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 17:05:37 -04:00
Put Reader, Writer inside "stream" namespace.
This commit is contained in:
parent
01320d9806
commit
a5793b8b9d
5 changed files with 9 additions and 5 deletions
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include "file.hpp"
|
||||
|
||||
namespace stream {
|
||||
|
||||
class Reader {
|
||||
public:
|
||||
virtual File::Result<File::Size> read(void* const buffer, const File::Size bytes) = 0;
|
||||
|
@ -34,3 +36,5 @@ public:
|
|||
virtual File::Result<File::Size> write(const void* const buffer, const File::Size bytes) = 0;
|
||||
virtual ~Writer() = default;
|
||||
};
|
||||
|
||||
} /* namespace stream */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue