summaryrefslogtreecommitdiff
path: root/asl/io/writer.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-17 00:21:48 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-02-17 22:29:50 +0100
commita141c401f78467bc15f62882fca5d55a007cacbb (patch)
tree908ac71a8640f78f45d22c6808c5fa6e373000fa /asl/io/writer.hpp
parentcb77cbe9ce4cddad6a460aa190ff70f0c13e4703 (diff)
Reorganize everything
Diffstat (limited to 'asl/io/writer.hpp')
-rw-r--r--asl/io/writer.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/asl/io/writer.hpp b/asl/io/writer.hpp
new file mode 100644
index 0000000..e3cb313
--- /dev/null
+++ b/asl/io/writer.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "asl/base/integers.hpp"
+#include "asl/base/utility.hpp"
+#include "asl/types/span.hpp"
+
+namespace asl
+{
+
+class Writer
+{
+public:
+ Writer() = default;
+ ASL_DELETE_COPY_MOVE(Writer);
+ virtual ~Writer() = default;
+
+ virtual void write(span<const byte>) = 0;
+};
+
+} // namespace asl