|
DP3
|
Abstract base class for input buffer for a blob. More...
#include <BlobIBuffer.h>
Public Member Functions | |
| BlobIBuffer () | |
| Constructor. More... | |
| virtual | ~BlobIBuffer () |
| Destructor. More... | |
| virtual uint64_t | get (void *buffer, uint64_t nbytes)=0 |
| Get the requested nr of bytes. More... | |
| virtual int64_t | setPos (int64_t pos)=0 |
| virtual int64_t | tellPos () const =0 |
Abstract base class for input buffer for a blob.
BlobIBuffer is the abstract base class for the source of a BlobIStream object. In this way the source of a BlobIStream can be chosen as needed. Currently three source types are possible:
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
Get the requested nr of bytes.
Implemented in dp3::blob::BlobIBufStream.
|
pure virtual |
Set the position in the stream. It returns the new position which is -1 if the stream is not seekable.
Implemented in dp3::blob::BlobIBufStream.
|
pure virtual |
Get the position in the stream. -1 is returned if the stream is not seekable.
Implemented in dp3::blob::BlobIBufStream.