xuncompress.vi

Decompresses the source buffer into the destination buffer. Upon entry, destLen is the total size of the destination buffer, which must be large enough to hold the entire uncompressed data. (The size of the uncompressed data must have been saved previously by the compressor and transmitted to the decompressor by some mechanism outside the scope of this compression library.)

Upon exit, length of dest has the actual size of the uncompressed buffer.

xuncompress returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if there was not enough room in the destination buffer, or Z_DATA_ERROR if the source data was corrupted.


Connector Pane

xuncompress.vi


Controls and Indicators

cu32

destLen

c1du8

source

ii32

Result

istr

dest