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 pdf_long Read (char *pBuffer, pdf_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

pdf_long PoDoFo::PdfDeviceInputStream::Read ( char *  pBuffer,
pdf_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 Sun Feb 12 13:16:01 2012 for PoDoFo by  doxygen 1.4.7