blob: b5aab6272e1d6969a584e6fcccd6df15c5f4d759 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2025 Steven Le Rouzic
//
// SPDX-License-Identifier: BSD-3-Clause
#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
|