|
Foxit PDF Conversion SDK
|
File stream interface, reading & writing. More...
Inherits FoxitPDFConversionSDKPython2._object.
Public Member Functions | |
| def | Flush () |
| Flush internal buffer. More... | |
| def | GetPosition () |
| Get the current reading position in stream. More... | |
| def | GetSize () |
| Get the current stream size, in bytes. More... | |
| def | IsEOF () |
| Determine whether reach the end of stream. More... | |
| def | ReadBlock (buffer, offset, size) |
| Read a data block from stream. More... | |
| def | Release () |
| Destroy the current instance. More... | |
| def | Retain () |
| Create a shared instance. More... | |
| def | WriteBlock (buffer, offset, size) |
| Write a block data into stream. More... | |
File stream interface, reading & writing.
| def FoxitPDFConversionSDKPython2.StreamCallback.Flush | ( | ) |
Flush internal buffer.
| def FoxitPDFConversionSDKPython2.StreamCallback.GetPosition | ( | ) |
Get the current reading position in stream.
| def FoxitPDFConversionSDKPython2.StreamCallback.GetSize | ( | ) |
Get the current stream size, in bytes.
| def FoxitPDFConversionSDKPython2.StreamCallback.IsEOF | ( | ) |
Determine whether reach the end of stream.
| def FoxitPDFConversionSDKPython2.StreamCallback.ReadBlock | ( | buffer, | |
| offset, | |||
| size | |||
| ) |
Read a data block from stream.
Read data block from stream.
| [in,out] | buffer | Pointer to a buffer receiving data. |
| [in] | offset | Byte offset from beginning of the file, the position to read data. |
| [in] | size | Number of bytes to be read from stream. |
| [in,out] | buffer | Buffer to store data. |
| [in] | size | Total size of buffer, in bytes. |
| def FoxitPDFConversionSDKPython2.StreamCallback.Release | ( | ) |
Destroy the current instance.
| def FoxitPDFConversionSDKPython2.StreamCallback.Retain | ( | ) |
Create a shared instance.
| def FoxitPDFConversionSDKPython2.StreamCallback.WriteBlock | ( | buffer, | |
| offset, | |||
| size | |||
| ) |
Write a block data into stream.
| [in] | buffer | Pointer to the data block. |
| [in] | offset | Byte offset from beginning of the file, the position to write data. |
| [in] | size | The length in bytes of the buffer. |