![]() |
OpenMS
|
Internal byte stream shared by the XML compression adapters. More...
#include <OpenMS/FORMAT/InputStream.h>
Public Member Functions | |
| virtual | ~InputStream ()=default |
| virtual UInt64 | curPos () const =0 |
| virtual Size | readBytes (unsigned char *to_fill, Size max_to_read)=0 |
| virtual void | cancel () |
Internal byte stream shared by the XML compression adapters.
|
virtualdefault |
|
inlinevirtual |
Asks a readBytes() that blocks on another thread (e.g. on the network) to return soon; the stream is not read afterwards. Thread-safe. Streams that never block for long need not implement it.
Reimplemented in DecompressingInputStream.
|
pure virtual |
Implemented in Bzip2InputStream, DecompressingInputStream, GzipInputStream, and ZipInputStream.
Implemented in Bzip2InputStream, GzipInputStream, ZipInputStream, and DecompressingInputStream.