WebCola
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Decipher
isTTY
readable
writable
add
Listener
emit
end
event
Names
final
get
Max
Listeners
is
Paused
listener
Count
listeners
on
once
pause
pipe
prepend
Listener
prepend
Once
Listener
read
remove
All
Listeners
remove
Listener
resume
setAAD
set
Auth
Tag
set
Auto
Padding
set
Encoding
set
Max
Listeners
unpipe
unshift
update
wrap
write
Hierarchy
ReadWriteStream
Decipher
Index
Properties
isTTY
readable
writable
Methods
add
Listener
emit
end
event
Names
final
get
Max
Listeners
is
Paused
listener
Count
listeners
on
once
pause
pipe
prepend
Listener
prepend
Once
Listener
read
remove
All
Listeners
remove
Listener
resume
setAAD
set
Auth
Tag
set
Auto
Padding
set
Encoding
set
Max
Listeners
unpipe
unshift
update
wrap
write
Properties
isTTY
isTTY
:
boolean
readable
readable
:
boolean
writable
writable
:
boolean
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
Parameters
event:
string
|
symbol
listener:
Function
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
end
end
(
)
:
void
end
(
buffer
:
Buffer
, cb
?:
Function
)
:
void
end
(
str
:
string
, cb
?:
Function
)
:
void
end
(
str
:
string
, encoding
?:
string
, cb
?:
Function
)
:
void
Returns
void
Parameters
buffer:
Buffer
Optional
cb:
Function
Returns
void
Parameters
str:
string
Optional
cb:
Function
Returns
void
Parameters
str:
string
Optional
encoding:
string
Optional
cb:
Function
Returns
void
event
Names
event
Names
(
)
:
string
|
symbol
Returns
string
|
symbol
final
final
(
)
:
Buffer
final
(
output_encoding
:
string
)
:
string
Returns
Buffer
Parameters
output_encoding:
string
Returns
string
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
is
Paused
is
Paused
(
)
:
boolean
Returns
boolean
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
on
on
(
event
:
string
|
symbol
, listener
:
Function
)
Parameters
event:
string
|
symbol
listener:
Function
once
once
(
event
:
string
|
symbol
, listener
:
Function
)
Parameters
event:
string
|
symbol
listener:
Function
pause
pause
(
)
pipe
pipe<T>
(
destination
:
T
, options
?:
object
)
:
T
Type parameters
T
:
WritableStream
Parameters
destination:
T
Optional
options:
object
Optional
end
?:
boolean
Returns
T
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
Parameters
event:
string
|
symbol
listener:
Function
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
Parameters
event:
string
|
symbol
listener:
Function
read
read
(
size
?:
number
)
:
string
|
Buffer
Parameters
Optional
size:
number
Returns
string
|
Buffer
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
Parameters
Optional
event:
string
|
symbol
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
Function
)
Parameters
event:
string
|
symbol
listener:
Function
resume
resume
(
)
setAAD
setAAD
(
buffer
:
Buffer
)
:
void
Parameters
buffer:
Buffer
Returns
void
set
Auth
Tag
set
Auth
Tag
(
tag
:
Buffer
)
:
void
Parameters
tag:
Buffer
Returns
void
set
Auto
Padding
set
Auto
Padding
(
auto_padding
?:
boolean
)
:
void
Parameters
Optional
auto_padding:
boolean
Returns
void
set
Encoding
set
Encoding
(
encoding
:
string
|
null
)
Parameters
encoding:
string
|
null
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
Parameters
n:
number
unpipe
unpipe<T>
(
destination
?:
T
)
Type parameters
T
:
WritableStream
Parameters
Optional
destination:
T
unshift
unshift
(
chunk
:
string
)
:
void
unshift
(
chunk
:
Buffer
)
:
void
Parameters
chunk:
string
Returns
void
Parameters
chunk:
Buffer
Returns
void
update
update
(
data
:
Buffer
)
:
Buffer
update
(
data
:
string
, input_encoding
:
HexBase64BinaryEncoding
)
:
Buffer
update
(
data
:
Buffer
, input_encoding
:
any
, output_encoding
:
Utf8AsciiBinaryEncoding
)
:
string
update
(
data
:
string
, input_encoding
:
HexBase64BinaryEncoding
, output_encoding
:
Utf8AsciiBinaryEncoding
)
:
string
Parameters
data:
Buffer
Returns
Buffer
Parameters
data:
string
input_encoding:
HexBase64BinaryEncoding
Returns
Buffer
Parameters
data:
Buffer
input_encoding:
any
output_encoding:
Utf8AsciiBinaryEncoding
Returns
string
Parameters
data:
string
input_encoding:
HexBase64BinaryEncoding
output_encoding:
Utf8AsciiBinaryEncoding
Returns
string
wrap
wrap
(
oldStream
:
ReadableStream
)
:
ReadableStream
Parameters
oldStream:
ReadableStream
Returns
ReadableStream
write
write
(
buffer
:
Buffer
|
string
, cb
?:
Function
)
:
boolean
write
(
str
:
string
, encoding
?:
string
, cb
?:
Function
)
:
boolean
Parameters
buffer:
Buffer
|
string
Optional
cb:
Function
Returns
boolean
Parameters
str:
string
Optional
encoding:
string
Optional
cb:
Function
Returns
boolean
Generated using
TypeDoc