5#ifndef AUX_INPUT_STREAM_H
6#define AUX_INPUT_STREAM_H
16class PODOFO_API InputStream
20 virtual ~InputStream();
27 void Read(
char* buffer,
size_t size);
34 size_t Read(
char* buffer,
size_t size,
bool& eof);
62 static size_t ReadBuffer(InputStream& stream,
char* buffer,
size_t size,
bool& eof);
63 static bool ReadChar(InputStream& stream,
char& ch);
69 virtual size_t readBuffer(
char* buffer,
size_t size,
bool& eof) = 0;
96 void readSlowPath(
char* buffer,
size_t size);
97 size_t readSlowPath(
char* buffer,
size_t size,
bool& eof);
98 char readCharSlowPath();
99 bool tryReadCharSlowPath(
char& ch);
102 InputStream(
const InputStream&) =
delete;
103 InputStream& operator=(
const InputStream&) =
delete;
An interface for writing blocks of data to a data source.
Definition OutputStream.h:15
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13