Output
Stream
Class
constructor
parent
Class
name
close
Async
close
Finish
close
Fn
flush
flush
Async
flush
Finish
splice
splice
Async
splice
Finish
write
Async
write
Finish
write
Fn
writev
Async
writev
Finish
writev
Fn
NODE-GTK API Reference
Gio-2.0
Gio
OutputStreamClass
Class OutputStreamClass
Hierarchy
OutputStreamClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
close
Async
close
Finish
close
Fn
flush
flush
Async
flush
Finish
splice
splice
Async
splice
Finish
write
Async
write
Finish
write
Fn
writev
Async
writev
Finish
writev
Fn
Constructors
constructor
new
Output
Stream
Class
(
)
:
Gio
.
OutputStreamClass
Returns
Gio
.
OutputStreamClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
close
Async
close
Async
(
stream
:
Gio
.
OutputStream
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
OutputStream
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
close
Finish
close
Finish
(
stream
:
Gio
.
OutputStream
, result
:
AsyncResult
)
:
boolean
Parameters
stream:
Gio
.
OutputStream
result:
AsyncResult
Returns
boolean
close
Fn
close
Fn
(
stream
:
Gio
.
OutputStream
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
stream:
Gio
.
OutputStream
cancellable:
Gio
.
Cancellable
Returns
boolean
flush
flush
(
stream
:
Gio
.
OutputStream
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
stream:
Gio
.
OutputStream
cancellable:
Gio
.
Cancellable
Returns
boolean
flush
Async
flush
Async
(
stream
:
Gio
.
OutputStream
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
OutputStream
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
flush
Finish
flush
Finish
(
stream
:
Gio
.
OutputStream
, result
:
AsyncResult
)
:
boolean
Parameters
stream:
Gio
.
OutputStream
result:
AsyncResult
Returns
boolean
splice
splice
(
stream
:
Gio
.
OutputStream
, source
:
Gio
.
InputStream
, flags
:
OutputStreamSpliceFlags
, cancellable
:
Gio
.
Cancellable
)
:
number
Parameters
stream:
Gio
.
OutputStream
source:
Gio
.
InputStream
flags:
OutputStreamSpliceFlags
cancellable:
Gio
.
Cancellable
Returns
number
splice
Async
splice
Async
(
stream
:
Gio
.
OutputStream
, source
:
Gio
.
InputStream
, flags
:
OutputStreamSpliceFlags
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
OutputStream
source:
Gio
.
InputStream
flags:
OutputStreamSpliceFlags
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
splice
Finish
splice
Finish
(
stream
:
Gio
.
OutputStream
, result
:
AsyncResult
)
:
number
Parameters
stream:
Gio
.
OutputStream
result:
AsyncResult
Returns
number
write
Async
write
Async
(
stream
:
Gio
.
OutputStream
, buffer
:
Uint8Array
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
OutputStream
buffer:
Uint8Array
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
write
Finish
write
Finish
(
stream
:
Gio
.
OutputStream
, result
:
AsyncResult
)
:
number
Parameters
stream:
Gio
.
OutputStream
result:
AsyncResult
Returns
number
write
Fn
write
Fn
(
stream
:
Gio
.
OutputStream
, buffer
:
Uint8Array
, cancellable
:
Gio
.
Cancellable
)
:
number
Parameters
stream:
Gio
.
OutputStream
buffer:
Uint8Array
cancellable:
Gio
.
Cancellable
Returns
number
writev
Async
writev
Async
(
stream
:
Gio
.
OutputStream
, vectors
:
OutputVector
[]
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
OutputStream
vectors:
OutputVector
[]
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
writev
Finish
writev
Finish
(
stream
:
Gio
.
OutputStream
, result
:
AsyncResult
)
:
[
boolean
,
number
]
Parameters
stream:
Gio
.
OutputStream
result:
AsyncResult
Returns
[
boolean
,
number
]
writev
Fn
writev
Fn
(
stream
:
Gio
.
OutputStream
, vectors
:
OutputVector
[]
, cancellable
:
Gio
.
Cancellable
)
:
[
boolean
,
number
]
Parameters
stream:
Gio
.
OutputStream
vectors:
OutputVector
[]
cancellable:
Gio
.
Cancellable
Returns
[
boolean
,
number
]
Output
Stream
Class
constructor
parent
Class
name
close
Async
close
Finish
close
Fn
flush
flush
Async
flush
Finish
splice
splice
Async
splice
Finish
write
Async
write
Finish
write
Fn
writev
Async
writev
Finish
writev
Fn
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5PdXRwdXRTdHJlYW1DbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2lvXzJfMC5HaW8uT3V0cHV0U3RyZWFtQ2xhc3MuaHRtbCNwYXJlbnRDbGFzcyIsIm5hbWUiOiJwYXJlbnRDbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNz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