PoDoFo  0.9.1
Public Member Functions | List of all members
PoDoFo::PdfRC4InputStream Class Reference
Inheritance diagram for PoDoFo::PdfRC4InputStream:
PoDoFo::PdfInputStream

Public Member Functions

virtual pdf_long Read (char *pBuffer, pdf_long lLen)
 

Detailed Description

A PdfInputStream that decrypts all data read using the RC4 encryption algorithm

Member Function Documentation

§ Read()

virtual pdf_long PoDoFo::PdfRC4InputStream::Read ( char *  pBuffer,
pdf_long  lLen 
)
inlinevirtual

Read data from the input stream

Parameters
pBufferthe data will be stored into this buffer
lLenthe 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.