|
Foxit PDF SDK
9.1
|
File stream interface, reading & writing. More...
Instance Methods | |
| (BOOL) | - flush |
| Flush internal buffer. More... | |
| (unsigned long long) | - GetPosition |
| Get the current reading position in stream. More... | |
| (unsigned long long) | - getSize |
| Get the current stream size, in bytes. More... | |
| (BOOL) | - IsEOF |
| Determine whether reach the end of stream. More... | |
| (NSData *) | - readBlock:size: |
| Read a data block from the file. More... | |
| (BOOL) | - writeBlock:offset: |
| Write a block data to the end of current stream. More... | |
File stream interface, reading & writing.
|
required |
Flush internal buffer.
|
required |
Get the current reading position in stream.
|
required |
Get the current stream size, in bytes.
|
required |
Determine whether reach the end of stream.
|
required |
Read a data block from the file.
| [in] | offset | Byte offset from beginning of the file |
| [in] | size | Number of bytes for the block. |
|
required |
Write a block data to the end of current stream.
| [in] | buffer | Pointer to the data block. |
| [in] | size | The length in bytes of the buffer. |