Compress::LZW::Decompressor - Scaling LZW decompressor class
version 0.03
use Compress::LZW::Decompressor; my $d = Compress::LZW::Decompressor->new(); my $orig = $d->decompress( $lzw );
Default: Dectected through Config.pm / byteorder
True if bit 0 is the least significant in this environment. Not well-tested, but intended to change some internal behavior to match compress(1) output on MSB-zero platforms.
Needs to match the value used during compression, if data is passing across CPU architectures.
Default: 9
After the first three header bytes, input codes are expected tobegin at this size. This is not stored in the resulting stream, so if this was altered from default at compression, you must supply the same value here.
May be between 9 and 31, inclusive. An exception will be raised in decompress if this value is already higher than the given stream's declared maximum code size.
Decompress $input with the current settings and returns the result.
Resets the decompressor state for another round of input. Automatically called at the beginning of ->decompress.
Resets the following internal state: code table, next code number, code size, output buffer
Meredith Howard <mhoward@cpan.org>
This software is copyright (c) 2013 by Meredith Howard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Compress::LZW, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Compress::LZW
CPAN shell
perl -MCPAN -e shell install Compress::LZW
For more information on module installation, please visit the detailed CPAN module installation guide.