Foxit PDF SDK
|
Class Methods | |
(NSData *) | + base64Decode: |
Decode the encoded data buffer by Base64 algorithm. More... | |
(NSData *) | + base64Encode: |
Encode the source data buffer by Base64 algorithm. More... | |
(NSData *) | + flateCompress: |
Compress the source data buffer by DEFLATE algorithm. More... | |
(NSData *) | + flateDecompress: |
Decompress the compressed data buffer by DEFLATE algorithm. More... | |
This class provides utility functions such as encoding or compression. Foxit PDF SDK library should has been initialized successfully by function FSLibrary::initialize:key: before calling any function of this class.
+ (NSData *) base64Decode: | (NSData *) | buffer |
Decode the encoded data buffer by Base64 algorithm.
Decode the encoded data buffer by Base64 algorithm.
[in] | buffer | The encoded source data buffer. |
+ (NSData *) base64Encode: | (NSData *) | buffer |
Encode the source data buffer by Base64 algorithm.
Encode the source data buffer by Base64 algorithm.
[in] | buffer | The raw source data buffer. |
+ (NSData *) flateCompress: | (NSData *) | buffer |
Compress the source data buffer by DEFLATE algorithm.
Compress the source data buffer by DEFLATE algorithm.
[in] | buffer | The raw source data buffer. |
+ (NSData *) flateDecompress: | (NSData *) | buffer |
Decompress the compressed data buffer by DEFLATE algorithm.
Decompress the compressed data buffer by DEFLATE algorithm.
[in] | buffer | The compressed source data buffer. |