Foxit PDF SDK
foxit.common.Codec类 参考
类 foxit.common.Codec 继承关系图:
foxit.common.Base

静态 Public 成员函数

static string Base64Decode (global::System.IntPtr encoded_data_buffer, uint length)
 使用Base64算法解码编码的数据缓冲区。 更多...
 
static string Base64Encode (global::System.IntPtr data_buffer, uint length)
 使用Base64算法编码源数据缓冲区。 更多...
 
static string FlateCompress (global::System.IntPtr data_buffer, uint length)
 使用DEFLATE算法压缩源数据缓冲区。 更多...
 
static string FlateDecompress (global::System.IntPtr compressed_data_buffer, uint length)
 使用DEFLATE算法解压缩压缩的数据缓冲区。 更多...
 

详细描述

此类提供编码或压缩等实用功能。 在调用此类的任何函数之前,应通过函数 Library.Initialize 成功初始化Foxit PDF SDK库。

成员函数说明

◆ Base64Decode()

static string foxit.common.Codec.Base64Decode ( global::System.IntPtr  encoded_data_buffer,
uint  length 
)
inlinestatic

使用Base64算法解码编码的数据缓冲区。

参数
[in]encoded_data_buffer编码的源数据缓冲区。
[in]length数据缓冲区的字节长度。
返回
解码后的数据。

◆ Base64Encode()

static string foxit.common.Codec.Base64Encode ( global::System.IntPtr  data_buffer,
uint  length 
)
inlinestatic

使用Base64算法编码源数据缓冲区。

参数
[in]data_buffer原始源数据缓冲区。
[in]length数据缓冲区的字节长度。
返回
编码后的数据。

◆ FlateCompress()

static string foxit.common.Codec.FlateCompress ( global::System.IntPtr  data_buffer,
uint  length 
)
inlinestatic

使用DEFLATE算法压缩源数据缓冲区。

参数
[in]data_buffer原始源数据缓冲区。
[in]length数据缓冲区的字节长度。
返回
压缩后的数据。

◆ FlateDecompress()

static string foxit.common.Codec.FlateDecompress ( global::System.IntPtr  compressed_data_buffer,
uint  length 
)
inlinestatic

使用DEFLATE算法解压缩压缩的数据缓冲区。

参数
[in]compressed_data_buffer压缩的源数据缓冲区。
[in]length数据缓冲区的字节长度。
返回
解压缩后的数据。