4737N/A * Copyright (C) 1995-2002 Jean-loup Gailly. 4737N/A * For conditions of distribution and use, see copyright notice in zlib.h 4737N/A/* =========================================================================== 4737N/A Decompresses the source buffer into the destination buffer. sourceLen is 4737N/A the byte length of the source buffer. Upon entry, destLen is the total 4737N/A size of the destination buffer, which must be large enough to hold the 4737N/A entire uncompressed data. (The size of the uncompressed data must have 4737N/A been saved previously by the compressor and transmitted to the decompressor 4737N/A by some mechanism outside the scope of this compression library.) 4737N/A Upon exit, destLen is the actual size of the compressed buffer. 4737N/A This function can be used to decompress a whole file at once if the 4737N/A uncompress returns Z_OK if success, Z_MEM_ERROR if there was not 4737N/A enough memory, Z_BUF_ERROR if there was not enough room in the output 5336N/A buffer, or Z_DATA_ERROR if the input data was corrupted. 4737N/A /* Check for source > 64K on 16-bit machine: */