OpenBlobAsDecompressingStream (open)
Open and decompress a blob
Syntax
LOADLIB "wh::filetypes/archiving.whlib";
INTEGER FUNCTION OpenBlobAsDecompressingStream(BLOB indata, STRING fileformat)Parameters
BLOB indataBlob to read
STRING fileformatFile format to read (either 'GZIP', 'ZLIB', 'ZLIBRAW' or 'ZLIBRAW:filelength')
Return value
INTEGERThe stream handle, usable by ReadFrom and ReadLineFrom