PoDoFo  0.9.4
Public Member Functions | List of all members
PoDoFo::PdfDeviceInputStream Class Reference

#include <PdfInputStream.h>

Inheritance diagram for PoDoFo::PdfDeviceInputStream:

Public Member Functions

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

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

pDevicean input device

Member Function Documentation

pdf_long PoDoFo::PdfDeviceInputStream::Read ( char *  pBuffer,
pdf_long  lLen,
pdf_long *   

Read data from the input stream

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

Implements PoDoFo::PdfInputStream.