Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

LZW Demystified

by demerphq (Chancellor)
on Jun 29, 2003 at 20:11 UTC ( #270016=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    O > char : "A"
    READ:
    ...
    O > 267    :    100001011 : "AAAA"      | C>>    281 : "AAAA\r"
    O > 13     :    000001101 : "\r"        | C>>    282 : "\r\n"
    
  2. or download this
    O > char : "A"
    READ:"AABBB\r\n"
    ...
    O > 259    :    100000011 : "BB"        | C>>    260 : "BB\r"
    O > 13     :    000001101 : "\r"        | C>>    261 : "\r\n"
    O > 10     :    000001010 : "\n"        | 
    
  3. or download this
    First char: A
    Read: 257 undef
    ...
    E<< Created:    260 : "BB\r"
    Read: 10 "\n"
    E<< Created:    261 : "\r\n"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://270016]
Approved by gmax
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2014-11-24 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls