#include <IncrementalReadInterface.h>
Inherited by AutopatcherRepositoryInterface.
Public Member Functions | |
IncrementalReadInterface () | |
virtual | ~IncrementalReadInterface () |
virtual unsigned int | GetFilePart (const char *filename, unsigned int startReadBytes, unsigned int numBytesToRead, void *preallocatedDestination, FileListNodeContext context) |
Definition at line 7 of file IncrementalReadInterface.h.
IncrementalReadInterface::IncrementalReadInterface | ( | ) | [inline] |
Definition at line 10 of file IncrementalReadInterface.h.
virtual IncrementalReadInterface::~IncrementalReadInterface | ( | ) | [inline, virtual] |
Definition at line 11 of file IncrementalReadInterface.h.
unsigned int IncrementalReadInterface::GetFilePart | ( | const char * | filename, | |
unsigned int | startReadBytes, | |||
unsigned int | numBytesToRead, | |||
void * | preallocatedDestination, | |||
FileListNodeContext | context | |||
) | [virtual] |
Read part of a file into destination Return the number of bytes written. Return 0 when file is done.
[in] | filename | Filename to read |
[in] | startReadBytes | What offset from the start of the file to read from |
[in] | numBytesToRead | How many bytes to read. This is also how many bytes have been allocated to preallocatedDestination |
[out] | preallocatedDestination | Write your data here |
Definition at line 4 of file IncrementalReadInterface.cpp.