mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 08:07:37 +00:00
Put Reader, Writer inside "stream" namespace.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user