summaryrefslogtreecommitdiff
path: root/asl/io.hpp
blob: 66de6d74f6c36b9fe46534c6f16d322716ccb464 (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"
#include "asl/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