7 #ifndef AUX_INPUT_STREAM_H
8 #define AUX_INPUT_STREAM_H
31 void Read(
char* buffer,
size_t size);
39 size_t Read(
char* buffer,
size_t size,
bool& eof);
70 static size_t ReadBuffer(
InputStream& stream,
char* buffer,
size_t size,
bool& eof);
71 static bool ReadChar(
InputStream& stream,
char& ch);
78 virtual size_t readBuffer(
char* buffer,
size_t size,
bool& eof) = 0;
83 virtual bool readChar(
char& ch);
88 virtual void checkRead()
const;
An interface for writing blocks of data to a data source.
Definition: OutputStream.h:18
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition: basetypes.h:16