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: Int
bits: Int
isFinal: Bool
huffdist: Null<Anonymous>
htools: HuffTools
len: Int
dist: Int
needed: Int
output: haxe.io.Bytes
outpos: Int
input: haxe.io.Input
window: haxe.zip._InflateImpl.Window
buildFixedHuffman(): Null<Anonymous>
Returns |
---|
Null |
Name | Type |
---|---|
n |
Int |
Returns |
---|
Int |
getBit(): Bool
Returns |
---|
Bool |
Name | Type |
---|---|
n |
Int |
Returns |
---|
Int |
resetBits(): Void
addBytes(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 |