Decompress the given LZW packed data back to its original data format. This function will check the internally encoded signature to make sure the given data is really packed and originated by LzwPack$(). After decompression it will also check the unpacked data against its original checksum (CRC32) to recognize eventual data corruption.
SYNTAX:
unpacked$ = LzwUnpack$ (LzwData$)
INPUTS:
LzwData$ (STRING)
- The LZW compressed data you want to decompress, usually the result of a former call to the LzwPack$() function.
RESULT:
unpacked$ (STRING)
- The original (uncompressed) data or an empty string, if any of the above mentioned checks will fail.