summaryrefslogtreecommitdiff
path: root/asl/io.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/io.hpp')
-rw-r--r--asl/io.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/asl/io.hpp b/asl/io.hpp
new file mode 100644
index 0000000..79c70c2
--- /dev/null
+++ b/asl/io.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "asl/integers.hpp"
+#include "asl/utility.hpp"
+
+namespace asl
+{
+
+class writer
+{
+public:
+ writer() = default;
+ ASL_DELETE_COPY_MOVE(writer);
+ virtual ~writer() = default;
+
+ // @Todo Use string view, or span of bytes?
+ virtual void write(const char* str, int64_t len) = 0;
+};
+
+} // namespace asl