blob: e7d1c9c3b425f854435407564da4e572abadad98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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, isize_t len) = 0;
};
} // namespace asl
|