CryptoPressStream:
Delphi / C++Builder Streaming Compression Library
with Strong Encryption


TCPSManager.DecompressBuffer
TCPSManager
Top 

Decompresses and/or decrypts binary data.

Delphi syntax:
procedure DecompressBuffer(InBuf: PChar; InSize: Integer; out OutBuf: PChar; out OutSize: Integer);

C++ syntax:
void __fastcall
DecompressBuffer(char * InBuf, int InSize, /* out */ char * &OutBuf, /* out */ int &OutSize);

Description
DecompressBuffer decompresses and/or decrypts binary data compressed by CompressBuffer.
Encryption settings are specified by CryptoParams property.
InBuf - pointer to source data
InSize - size of source data in bytes
OutBuf - pointer to decompressed data. OutBuf is allocated by GetMem call. You should free it by calling FreeMem.
OutSize - size of the decompressed data in bytes.





© AidAim Software CryptoPressStream: