PoDoFo 0.9.6
|
#include <PdfInputStream.h>
Public Member Functions | |
PdfFileInputStream (const char *pszFilename) | |
virtual pdf_long | Read (char *pBuffer, pdf_long lLen, pdf_long *=0) |
pdf_long | GetFileLength () |
FILE * | GetHandle () |
virtual pdf_long | Read (char *pBuffer, pdf_long lLen, pdf_long *pTotalLeft=0)=0 |
An input stream that reads data from a file
PoDoFo::PdfFileInputStream::PdfFileInputStream | ( | const char * | pszFilename | ) |
Open a file for reading data
pszFilename | the filename of the file to read |
pdf_long PoDoFo::PdfFileInputStream::GetFileLength | ( | ) |
Get the length of the file.
FILE * PoDoFo::PdfFileInputStream::GetHandle | ( | ) |
Get the internal FILE handle.
|
virtual |
Read data from the input stream
pBuffer | the data will be stored into this buffer |
lLen | the size of the buffer and number of bytes that will be read |
Implements PoDoFo::PdfInputStream.