Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
zlib
Unzip
Class Unzip
Hierarchy
Transform
Unzip
Index
Constructor methods
constructor
Properties
readable
writable
Methods
_flush
_transform
addListener
emit
end
listeners
on
once
pause
pipe
push
read
removeAllListeners
removeListener
resume
setEncoding
setMaxListeners
unpipe
unshift
wrap
write
Constructor methods
constructor
(
opts
?:
TransformOptions
)
:
Transform
Parameters
opts?:
TransformOptions
optional
Returns
Transform
Properties
public
readable
:
boolean
public
writable
:
boolean
Methods
public
_flush
(
callback
:
Function
)
Parameters
callback:
Function
public
_transform
(
chunk
:
Buffer
, encoding
:
string
, callback
:
Function
)
Parameters
chunk:
Buffer
encoding:
string
callback:
Function
public
_transform
(
chunk
:
string
, encoding
:
string
, callback
:
Function
)
Parameters
chunk:
string
encoding:
string
callback:
Function
public
addListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
emit
(
event
:
string
, args
?:
Array<any>
)
:
boolean
Parameters
event:
string
args?:
Array<any>
optional
Returns
boolean
public
end
(
)
public
end
(
buffer
:
Buffer
, cb
?:
Function
)
Parameters
buffer:
Buffer
cb?:
Function
optional
public
end
(
str
:
string
, cb
?:
Function
)
Parameters
str:
string
cb?:
Function
optional
public
end
(
str
:
string
, encoding
?:
string
, cb
?:
Function
)
Parameters
str:
string
encoding?:
string
optional
cb?:
Function
optional
public
listeners
(
event
:
string
)
:
Array<Function>
Parameters
event:
string
Returns
Array<Function>
public
on
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
once
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
pause
(
)
public
pipe
(
destination
:
T
, options
?:
{ end?: boolean; }
)
:
T
Parameters
destination:
T
options?:
{ end?: boolean; }
optional
Returns
T
public
push
(
chunk
:
any
, encoding
?:
string
)
:
boolean
Parameters
chunk:
any
encoding?:
string
optional
Returns
boolean
public
read
(
size
?:
number
)
:
any
Parameters
size?:
number
optional
Returns
any
public
removeAllListeners
(
event
?:
string
)
:
EventEmitter
Parameters
event?:
string
optional
Returns
EventEmitter
public
removeListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
resume
(
)
public
setEncoding
(
encoding
:
string
)
Parameters
encoding:
string
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
unpipe
(
destination
?:
T
)
Parameters
destination?:
T
optional
public
unshift
(
chunk
:
string
)
Parameters
chunk:
string
public
unshift
(
chunk
:
Buffer
)
Parameters
chunk:
Buffer
public
wrap
(
oldStream
:
ReadableStream
)
:
ReadableStream
Parameters
oldStream:
ReadableStream
Returns
ReadableStream
public
write
(
buffer
:
Buffer
, cb
?:
Function
)
:
boolean
Parameters
buffer:
Buffer
cb?:
Function
optional
Returns
boolean
public
write
(
str
:
string
, cb
?:
Function
)
:
boolean
Parameters
str:
string
cb?:
Function
optional
Returns
boolean
public
write
(
str
:
string
, encoding
?:
string
, cb
?:
Function
)
:
boolean
Parameters
str:
string
encoding?:
string
optional
cb?:
Function
optional
Returns
boolean
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tape
tls
tty
url
util
vm
zlib
Z_ASCII
Z_BEST_COMPRESSION
Z_BEST_SPEED
Z_BINARY
Z_BLOCK
Z_BUF_ERROR
Z_DATA_ERROR
Z_DEFAULT_COMPRESSION
Z_DEFAULT_STRATEGY
Z_DEFLATED
Z_ERRNO
Z_FILTERED
Z_FINISH
Z_FIXED
Z_FULL_FLUSH
Z_HUFFMAN_ONLY
Z_MEM_ERROR
Z_NEED_DICT
Z_NO_COMPRESSION
Z_NO_FLUSH
Z_NULL
Z_OK
Z_PARTIAL_FLUSH
Z_RLE
Z_STREAM_END
Z_STREAM_ERROR
Z_SYNC_FLUSH
Z_TEXT
Z_TREES
Z_UNKNOWN
Z_VERSION_ERROR
ZlibOptions
Deflate
DeflateRaw
Gunzip
Gzip
Inflate
InflateRaw
Unzip
constructor
readable
writable
_flush
_transform
addListener
emit
end
listeners
on
once
pause
pipe
push
read
removeAllListeners
removeListener
resume
setEncoding
setMaxListeners
unpipe
unshift
wrap
write
createDeflate
createDeflateRaw
createGunzip
createGzip
createInflate
createInflateRaw
createUnzip
deflate
deflateRaw
gunzip
gzip
inflate
inflateRaw
unzip