Uncompress data using compression algorithm.
Public Declare Function COMPR_Uncompress Lib "diCryptoSys.dll" (ByRef lpOutput As Byte, ByVal nOutBytes As Long, ByRef lpInput As Byte, ByVal nInputLen As Long, ByVal nOptions As Long) As Long
nRet = COMPR_Uncompress(lpOutput(0), nOutputLen, lpInput(0), nInputLen, nOptions)
long __stdcall COMPR_Uncompress(unsigned char *lpOutput, long nOutBytes, const unsigned char *lpInput, long nInputLen, long nOptions);
The number of bytes successfully copied into the output buffer or the required size in bytes. If an error occurs, it returns a negative error code.
Public Function comprUncompress
(lpInput() As Byte, Optional nOptions As Long = 0) As Byte()
static Compr.uncompress(data, alg=Alg.ZLIB)
To determine the required size of the output buffer, call the function with nOutBytes set to zero (or lpOutput set to NULL).
VB6/VBA users: Note the '(0)' in lpOutput(0) and abInput(0).
See COMPR_Compress
.
See COMPR_Compress
.