#include <PdfInputStream.h>
Inheritance diagram for PoDoFo::PdfFileInputStream:
Public Member Functions | |
PdfFileInputStream (const char *pszFilename) | |
virtual pdf_long | Read (char *pBuffer, pdf_long lLen) |
pdf_long | GetFileLength () |
FILE * | GetHandle () |
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.
pdf_long PoDoFo::PdfFileInputStream::Read | ( | char * | pBuffer, | |
pdf_long | lLen | |||
) | [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.