OpenBlobAsDecompressingStream (open)

Open and decompress a blob

Syntax

LOADLIB "wh::internal/interface.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