20 #ifndef MPD_AUTO_GUNZIP_READER_HXX 21 #define MPD_AUTO_GUNZIP_READER_HXX 44 virtual size_t Read(
void *data,
size_t size)
override;
An interface that can read bytes from a stream until the stream ends.
A filter that detects gzip compression and optionally inserts a GunzipReader.
A filter that decompresses data using zlib.
AutoGunzipReader(Reader &_next)
A filter that allows the caller to peek the first few bytes without consuming them.
virtual size_t Read(void *data, size_t size) override
Read data from the stream.