// SPDX-License-Identifier: BSD-2-Clause // author: Max Kellermann #ifndef OUTPUT_STREAM_HXX #define OUTPUT_STREAM_HXX #include #include class OutputStream { public: OutputStream() = default; OutputStream(const OutputStream &) = delete; /** * Throws std::exception on error. */ virtual void Write(std::span src) = 0; }; #endif