PoDoFo::PdfDeviceInputStream Class Reference

#include <PdfInputStream.h>

Inheritance diagram for PoDoFo::PdfDeviceInputStream:

PoDoFo::PdfInputStream

List of all members.

Public Member Functions

 PdfDeviceInputStream (PdfInputDevice *pDevice)
virtual long Read (char *pBuffer, long lLen)


Detailed Description

An input stream that reads data from an input device

Constructor & Destructor Documentation

PoDoFo::PdfDeviceInputStream::PdfDeviceInputStream ( PdfInputDevice pDevice  ) 

Read from an alread opened input device

Parameters:
pDevice an input device


Member Function Documentation

long PoDoFo::PdfDeviceInputStream::Read ( char *  pBuffer,
long  lLen 
) [virtual]

Read data from the input stream

Parameters:
pBuffer the data will be stored into this buffer
lLen the size of the buffer and number of bytes that will be read
Returns:
the number of bytes read, -1 if an error ocurred and zero if no more bytes are available for reading.

Implements PoDoFo::PdfInputStream.


Generated on Tue Jul 28 00:54:31 2009 for PoDoFo by  doxygen 1.5.9