I just had a look at ZLibWriteStream. This class is really cryptic. Deep 
knowledge about the zip format is needed. 

Maybe something like:
-=-=-=-=-=-=-=-=-=-=-=-=
ZLib is a data compression algorithm. According to Wikipedia, "this algorithm 
provides good compression on a wide variety of data with minimal use of system 
resources."

The class can be used that way:
| writer |
writer := ZLibWriteStream on: String new.
writer nextPutAll: 'Hello World'.
writer close.
writer encodedStream contents
-=-=-=-=-=-=-=-=-=-=-=-=

Alexandre


On 11 Jan 2012, at 10:14, [email protected] wrote:

> 103 classes done
> 793 classes remaining
> Continuing in Compression...
> 
> Today:  ZLibWriteStream 
> 
> 
> Comment Of The Day Contest - One Day One Comment 
> Rules: 
> #1: Each day a not commented class is elected. Each day the best comment will 
> be integrated with name of the author(s). 
> #2: If you cannot comment it, deprecate it. 
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
> 
> p.s. this message was sent from a pharo image. Did you know you could easily 
> do that?!
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply via email to