![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <IncrementalReadInterface.h>
Inheritance diagram for RakNet::IncrementalReadInterface:Public Member Functions | |
| virtual unsigned int | GetFilePart (const char *filename, unsigned int startReadBytes, unsigned int numBytesToRead, void *preallocatedDestination, FileListNodeContext context) |
| IncrementalReadInterface () | |
| virtual | ~IncrementalReadInterface () |
Definition at line 10 of file IncrementalReadInterface.h.
| RakNet::IncrementalReadInterface::IncrementalReadInterface | ( | ) | [inline] |
Definition at line 13 of file IncrementalReadInterface.h.
{}
| virtual RakNet::IncrementalReadInterface::~IncrementalReadInterface | ( | ) | [inline, virtual] |
Definition at line 14 of file IncrementalReadInterface.h.
{}
| virtual unsigned int RakNet::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 |
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.