InflateImpl
haxe.zip.InflateImpl (Class)
A pure Haxe implementation of the ZLIB Inflate algorithm which allows reading compressed data without any platform-specific support.
Static Members
run(i: haxe.io.Input, ?bufsize: Int = 65536): haxe.io.Bytes| Name | Type | Default |
|---|---|---|
i |
haxe.io.Input | |
bufsize |
Int | 65536 |
| Returns |
|---|
| haxe.io.Bytes |
Instance Members
readBytes(b: haxe.io.Bytes, pos: Int, len: Int): Int| Name | Type |
|---|---|
b |
haxe.io.Bytes |
pos |
Int |
len |
Int |
| Returns |
|---|
| Int |
new(i: haxe.io.Input, ?header: Bool = true, ?crc: Bool = true): Void| Name | Type | Default |
|---|---|---|
i |
haxe.io.Input | |
header |
Bool | true |
crc |
Bool | true |
Private Members
FIXED_HUFFMAN: Null<Anonymous>nbits: Intbits: IntisFinal: Boolhuffdist: Null<Anonymous>htools: HuffToolslen: Intdist: Intneeded: Intoutput: haxe.io.Bytesoutpos: Intinput: haxe.io.Inputwindow: haxe.zip._InflateImpl.WindowbuildFixedHuffman(): Null<Anonymous>| Returns |
|---|
| Null |
| Name | Type |
|---|---|
n |
Int |
| Returns |
|---|
| Int |
getBit(): Bool| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
n |
Int |
| Returns |
|---|
| Int |
resetBits(): VoidaddBytes(b: haxe.io.Bytes, p: Int, len: Int): Void| Name | Type |
|---|---|
b |
haxe.io.Bytes |
p |
Int |
len |
Int |
| Name | Type |
|---|---|
b |
Int |
| Name | Type |
|---|---|
n |
Int |
| Name | Type |
|---|---|
d |
Int |
len |
Int |
applyHuffman(h: Anonymous): Int| Name | Type |
|---|---|
h |
Anonymous |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
a |
Array<Int> |
max |
Int |
inflateLoop(): Bool| Returns |
|---|
| Bool |