#include <klvobject.h>
Inheritance diagram for KLVReadHandler_Base:
Public Member Functions | |
virtual | ~KLVReadHandler_Base () |
Base destructor. | |
virtual size_t | ReadData (DataChunk &Buffer, KLVObjectPtr Object, Position Start=0, size_t Size=static_cast< size_t >(-1))=0 |
Read data from the source into the KLVObject. |
virtual ~KLVReadHandler_Base | ( | ) | [virtual] |
Base destructor.
virtual size_t ReadData | ( | DataChunk & | Buffer, | |
KLVObjectPtr | Object, | |||
Position | Start = 0 , |
|||
size_t | Size = static_cast< size_t >(-1) | |||
) | [pure virtual] |
Read data from the source into the KLVObject.
Buffer | Reference to a buffer to receive the data | |
Object | KLVObject which is requesting the data | |
Start | Offset from the start of the KLV value to start reading | |
Size | Number of bytes to read, if -1 all available bytes will be read (which could be billions!) |