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