PoDoFo::PdfInputStream Class Reference

#include <PdfInputStream.h>

Inheritance diagram for PoDoFo::PdfInputStream:

PoDoFo::PdfDeviceInputStream PoDoFo::PdfFileInputStream PoDoFo::PdfMemoryInputStream PoDoFo::PdfRC4InputStream

List of all members.

Public Member Functions

virtual pdf_long Read (char *pBuffer, pdf_long lLen)=0


Detailed Description

An interface for reading blocks of data from an a data source.

Member Function Documentation

virtual pdf_long PoDoFo::PdfInputStream::Read ( char *  pBuffer,
pdf_long  lLen 
) [pure 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.

Implemented in PoDoFo::PdfRC4InputStream, PoDoFo::PdfFileInputStream, PoDoFo::PdfMemoryInputStream, and PoDoFo::PdfDeviceInputStream.


Generated on Wed Aug 25 18:25:18 2010 for PoDoFo by  doxygen 1.5.7.1