Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions
RakNet::IncrementalReadInterface Class Reference

#include <IncrementalReadInterface.h>

Inheritance diagram for RakNet::IncrementalReadInterface:

List of all members.

Public Member Functions

virtual unsigned int GetFilePart (const char *filename, unsigned int startReadBytes, unsigned int numBytesToRead, void *preallocatedDestination, FileListNodeContext context)
 IncrementalReadInterface ()
virtual ~IncrementalReadInterface ()

Detailed Description

Definition at line 10 of file IncrementalReadInterface.h.


Constructor & Destructor Documentation

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.

{}

Member Function Documentation

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.

Parameters:
[in]filenameFilename to read
[in]startReadBytesWhat offset from the start of the file to read from
[in]numBytesToReadHow many bytes to read. This is also how many bytes have been allocated to preallocatedDestination
[out]preallocatedDestinationWrite your data here
Returns:
The number of bytes read, or 0 if none

The documentation for this class was generated from the following file:

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net