7 #ifndef AUX_OUTPUT_STREAM_H
8 #define AUX_OUTPUT_STREAM_H
33 void Write(
const std::string_view& view);
40 void Write(
const char* buffer,
size_t size);
45 static void WriteBuffer(
OutputStream& stream,
const char* buffer,
size_t size);
49 virtual void writeBuffer(
const char* buffer,
size_t size) = 0;
55 virtual void checkWrite()
const;
An interface for writing blocks of data to a data source.
Definition: OutputStream.h:18
void Write(const std::string_view &view)
Write the view to the OutputStream.
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16