summaryrefslogtreecommitdiff
path: root/asl/io/writer.hpp
blob: e3cb313025dc0f29efdb4576ce74686e038665d6 (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/base/integers.hpp"
#include "asl/base/utility.hpp"
#include "asl/types/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