Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
zlib
Deflate
Interface Deflate
Hierarchy
ReadWriteStream
Deflate
Index
Properties
readable
writable
Methods
addListener
destroy
destroySoon
emit
end
listeners
on
once
pause
pipe
removeAllListener
removeListener
resume
setEncoding
setMaxListeners
write
Properties
public
readable
:
boolean
public
writable
:
boolean
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
destroy
(
)
public
destroySoon
(
)
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
end
(
)
public
end
(
str
:
string
, enconding
:
string
)
Parameters
str:
string
enconding:
string
public
end
(
buffer
:
Buffer
)
Parameters
buffer:
Buffer
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
pause
(
)
public
pipe
(
destination
:
WritableStream
, options
?:
{ end?: boolean; }
)
Parameters
destination:
WritableStream
options?:
{ end?: boolean; }
optional
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
resume
(
)
public
setEncoding
(
encoding
:
string
)
Parameters
encoding:
string
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
write
(
str
:
string
, encoding
?:
string
, fd
?:
string
)
:
boolean
Parameters
str:
string
encoding?:
string
optional
fd?:
string
optional
Returns
boolean
public
write
(
buffer
:
Buffer
)
:
boolean
Parameters
buffer:
Buffer
Returns
boolean
Globals
assert
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
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
Deflate
readable
writable
addListener
destroy
destroySoon
emit
end
listeners
on
once
pause
pipe
removeAllListener
removeListener
resume
setEncoding
setMaxListeners
write
DeflateRaw
Gunzip
Gzip
Inflate
InflateRaw
Unzip
ZlibOptions
createDeflate
createDeflateRaw
createGunzip
createGzip
createInflate
createInflateRaw
createUnzip
deflate
deflateRaw
gunzip
gzip
inflate
inflateRaw
unzip