| Package | nochump.util.zip |
| Class | public class Inflater |
| Inheritance | Inflater Object |
setInput(), then inflate() it.
This implementation is a port of Puff by Mark Addler that comes with
the zlip data compression library. It is not the fastest routine as
he intended it for learning purposes, his actual optimized inflater code
is very different. I went with this approach basically because I got a
headache looking at the optimized inflater code and porting this
was a breeze. The speed should be adequate but there is plenty of room
for improvements here.
| Method | Defined By | ||
|---|---|---|---|
inflate(buf:ByteArray):uint
Inflates the compressed stream to the output buffer. | Inflater | ||
setInput(buf:ByteArray):void
Sets the input. | Inflater | ||
| inflate | () | method |
public function inflate(buf:ByteArray):uintInflates the compressed stream to the output buffer.
Parameters
buf:ByteArray — the output buffer.
|
uint |
| setInput | () | method |
public function setInput(buf:ByteArray):voidSets the input.
Parameters
buf:ByteArray — the input.
|