OpenBlobAsDecompressingStream (open)

Open and decompress a blob

Syntax

LOADLIB "wh::filetypes/archiving.whlib";

INTEGER FUNCTION OpenBlobAsDecompressingStream(BLOB indata, STRING fileformat)

Parameters

BLOB indata

Blob to read

STRING fileformat

File format to read (either 'GZIP', 'ZLIB', 'ZLIBRAW' or 'ZLIBRAW:filelength')

Return value

INTEGER

The stream handle, usable by ReadFrom and ReadLineFrom