Run-length encoding: Difference between revisions

Content added Content deleted
(smalltalk)
m (→‎{{header|Smalltalk}}: a note about a "feature" (without example))
Line 347:
]
 
"the 'do:' can be used to let the user store the compressed 'stream' as s/he
prefers, while 'add:withCount:' can be used to rebuild the informations from
the custom storage"
do: aBlock [
1 to: (counters size) do: [ :i | | l |