'+---------------+---------------------------------------------------+
'| ###### ###### | .--. . .-. |
'| ## ## ## # | | )| ( ) o |
'| ## ## ## | |--' |--. .-. `-. . .-...--.--. .-. |
'| ###### ## | | \ | |( )( ) | ( || | |( ) |
'| ## ## | ' `' `-`-' `-'-' `-`-`|' ' `-`-'`- |
'| ## ## # | ._.' |
'| ## ###### | Sources & Documents placed in the Public Domain. |
'+---------------+---------------------------------------------------+
'| |
'| === lzwpacker.bm === |
'| |
'| == This library is providing adaptive (9-12 bits) LZW compression |
'| == for QB64. Packing and unpacking is done from string to string. |
'| |
'+-------------------------------------------------------------------+
'| Done by RhoSigma, R.Heyder, provided AS IS, use at your own risk. |
'| Find me in the QB64 Forum or mail to support@rhosigma-cw.net for |
'| any questions or suggestions. Thanx for your interest in my work. |
'+-------------------------------------------------------------------+
This library provides functions to pack and unpack data using an adaptive LZW algorithm. Note that this library is not an interface to other well known packing/archive formats like .zip/.7z/.gz etc., but provides the LZW algorithm in its own library context only.
LZW FUNCTIONS
HELPER FUNCTIONS