Foxit PDF Conversion SDK
|
File reading interface. More...
Public Member Functions | |
int | getSize () |
Get total size of the file. More... | |
boolean | readBlock (byte[] buffer, int offset, long size) |
Read a data block from the file. More... | |
void | release () |
Called when to release everything. More... | |
File reading interface.
int com.foxit.sdk.common.fxcrt.FileReaderCallback.getSize | ( | ) |
Get total size of the file.
boolean com.foxit.sdk.common.fxcrt.FileReaderCallback.readBlock | ( | byte [] | buffer, |
int | offset, | ||
long | size | ||
) |
Read a data block from the file.
[in,out] | buffer | Pointer to a buffer receiving read data |
[in] | offset | Byte offset from beginning of the file |
[in] | size | Number of bytes for the block. |
void com.foxit.sdk.common.fxcrt.FileReaderCallback.release | ( | ) |
Called when to release everything.