summaryrefslogtreecommitdiff
path: root/asl/io.hpp
blob: e54f00cea3e04d7d96d8af94e1df055945c3c6bc (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