A read-only resource which is read as bytes. More...
#include <ByteReadResource.hpp>
Public Member Functions | |
virtual std::istream & | readStream ()=0 |
Get the input stream of the byte read resource. More... | |
Public Member Functions inherited from Resource | |
virtual | ~Resource ()=default |
Destroy the resource instance. More... | |
virtual void | close ()=0 |
Close the stream(s) in the resource. More... | |
virtual const Uri & | uri () const =0 |
Get the URI associated with this resource. More... | |
A read-only resource which is read as bytes.
|
pure virtual |
Get the input stream of the byte read resource.
Implemented in HttpByteReadResource, HttpsByteReadResource, FileByteReadResource, ZipEntryByteReadResource, and StringUriByteReadResource.