Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
/img/help/home.gif /img/help/prev.gif /img/help/next.gif

 

ECLDecompressAndDecryptBuffer

 


 

Decompresses and/or decrypts a data from the specified buffer.

 

Unit

 

EasyCompression

 

function ECLDecompressAndDecryptBuffer(InBuf: PChar; InSize:      Integer; out OutBuf: PChar; out OutSize: Integer; Password: String = ''): Boolean;

 

Description

Call ECLDecompressAndDecryptBuffer to decompress and/or decrypt data from the source buffer to the specified destination buffer.

This function returns True if the decompression and/or decryption completed without errors or False if any error occurred.

InBuf represents the pointer to the source buffer with compressed and/or encrypted data.

InSize specifies the size of the source buffer

OutBuf contains the final pointer to the automatically allocated (by AllocMem) destination buffer with decompressed and/or decrypted data.

OutSize indicates the final size of the decompressed and/or decrypted data.

If Password is not blank, it is used to decrypt the data.

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Mar 28, 2024