Foxit PDF SDK
FoxitPDFSDKPython3.Codec Class Reference
Inheritance diagram for FoxitPDFSDKPython3.Codec:
FoxitPDFSDKPython3.Base

Static Public Attributes

 Base64Decode = _fsdk.Codec_Base64Decode
 Decode the encoded data buffer by Base64 algorithm. More...
 
 Base64Encode = _fsdk.Codec_Base64Encode
 Encode the source data buffer by Base64 algorithm. More...
 
 FlateCompress = _fsdk.Codec_FlateCompress
 Compress the source data buffer by DEFLATE algorithm. More...
 
 FlateDecompress = _fsdk.Codec_FlateDecompress
 Decompress the compressed data buffer by DEFLATE algorithm. More...
 

Detailed Description

This class provides utility functions such as encoding or compression. Foxit PDF SDK library should has been initialized successfully by function FoxitPDFSDKPython3.Library.Initialize before calling any function of this class.

Member Data Documentation

◆ Base64Decode

FoxitPDFSDKPython3.Codec.Base64Decode = _fsdk.Codec_Base64Decode
static

Decode the encoded data buffer by Base64 algorithm.

Parameters
[in]encoded_data_bufferThe encoded source data buffer.
[in]lengthThe length of data buffer in byte.
Returns
The decoded data.

◆ Base64Encode

FoxitPDFSDKPython3.Codec.Base64Encode = _fsdk.Codec_Base64Encode
static

Encode the source data buffer by Base64 algorithm.

Parameters
[in]data_bufferThe raw source data buffer.
[in]lengthThe length of data buffer in byte.
Returns
The encoded data.

◆ FlateCompress

FoxitPDFSDKPython3.Codec.FlateCompress = _fsdk.Codec_FlateCompress
static

Compress the source data buffer by DEFLATE algorithm.

Parameters
[in]data_bufferThe raw source data buffer.
[in]lengthThe length of data buffer in byte.
Returns
The compressed data.

◆ FlateDecompress

FoxitPDFSDKPython3.Codec.FlateDecompress = _fsdk.Codec_FlateDecompress
static

Decompress the compressed data buffer by DEFLATE algorithm.

Parameters
[in]compressed_data_bufferThe compressed source data buffer.
[in]lengthThe length of data buffer in byte.
Returns
The decompressed data.