PoDoFo::PdfInputStream Class Reference

#include <PdfInputStream.h>

Inheritance diagram for PoDoFo::PdfInputStream:

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

List of all members.

Public Member Functions

virtual pdf_long Read (char *pBuffer, pdf_long lLen, pdf_long *pTotalLeft=0)=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,
pdf_long *  pTotalLeft = 0 
) [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
pTotalLeft total bytes left (needed for AES IV and padding)
Returns:
the number of bytes read, -1 if an error ocurred and zero if no more bytes are available for reading.

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


Generated on Tue Nov 29 09:28:33 2016 for PoDoFo by  doxygen 1.5.6