UncompressPackMemory()

Syntax

Result = UncompressPackMemory(#Pack, *Buffer, Size [, PackedFilename$])
Description
Uncompress into the memory buffer from the current pack entry being examined with ExaminePack() and NextPackEntry().

Parameters

#Pack The pack to use.
*Buffer The memory buffer to uncompress the pack entry.
Size The size of the memory to uncompress the pack entry.
PackedFilename$ (optional) The packed filename entry to uncompress. If this parameter is not specified, the current entry being examined with ExaminePack() and NextPackEntry() is uncompressed.

Return value

Return the uncompressed size if the pack entry has been successfully uncompressed into the memory buffer, -1 otherwise.

See Also

OpenPack(), ExaminePack(), NextPackEntry()

Supported OS

All

<- UncompressPackFile() - Packer Index - UseBriefLZPacker() ->