MPD
0.20.6
|
An interface that can read bytes from a stream until the stream ends. More...
#include <Reader.hxx>
Public Member Functions | |
Reader ()=default | |
Reader (const Reader &)=delete | |
virtual gcc_nonnull_all size_t | Read (void *data, size_t size)=0 |
Read data from the stream. More... | |
An interface that can read bytes from a stream until the stream ends.
This interface is simpler and less cumbersome to use than InputStream.
Definition at line 35 of file Reader.hxx.
|
default |
|
delete |
|
pure virtual |
Read data from the stream.
Implemented in FileReader, GunzipReader, DecoderReader, PeekReader, AutoGunzipReader, and InputStreamReader.