File
Output
Stream
Class
constructor
parent
Class
name
can
Seek
can
Truncate
get
Etag
query
Info
query
Info
Async
query
Info
Finish
seek
tell
truncate
Fn
NODE-GTK API Reference
Gio-2.0
Gio
FileOutputStreamClass
Class FileOutputStreamClass
Hierarchy
FileOutputStreamClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
can
Seek
can
Truncate
get
Etag
query
Info
query
Info
Async
query
Info
Finish
seek
tell
truncate
Fn
Constructors
constructor
new
File
Output
Stream
Class
(
)
:
Gio
.
FileOutputStreamClass
Returns
Gio
.
FileOutputStreamClass
Properties
parent
Class
parent
Class
:
Gio
.
OutputStreamClass
Static
name
name
:
string
Methods
can
Seek
can
Seek
(
stream
:
Gio
.
FileOutputStream
)
:
boolean
Parameters
stream:
Gio
.
FileOutputStream
Returns
boolean
can
Truncate
can
Truncate
(
stream
:
Gio
.
FileOutputStream
)
:
boolean
Parameters
stream:
Gio
.
FileOutputStream
Returns
boolean
get
Etag
get
Etag
(
stream
:
Gio
.
FileOutputStream
)
:
string
Parameters
stream:
Gio
.
FileOutputStream
Returns
string
query
Info
query
Info
(
stream
:
Gio
.
FileOutputStream
, attributes
:
string
, cancellable
:
Gio
.
Cancellable
)
:
Gio
.
FileInfo
Parameters
stream:
Gio
.
FileOutputStream
attributes:
string
cancellable:
Gio
.
Cancellable
Returns
Gio
.
FileInfo
query
Info
Async
query
Info
Async
(
stream
:
Gio
.
FileOutputStream
, attributes
:
string
, ioPriority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
FileOutputStream
attributes:
string
ioPriority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
query
Info
Finish
query
Info
Finish
(
stream
:
Gio
.
FileOutputStream
, result
:
AsyncResult
)
:
Gio
.
FileInfo
Parameters
stream:
Gio
.
FileOutputStream
result:
AsyncResult
Returns
Gio
.
FileInfo
seek
seek
(
stream
:
Gio
.
FileOutputStream
, offset
:
number
, type
:
GLib
.
SeekType
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
stream:
Gio
.
FileOutputStream
offset:
number
type:
GLib
.
SeekType
cancellable:
Gio
.
Cancellable
Returns
boolean
tell
tell
(
stream
:
Gio
.
FileOutputStream
)
:
number
Parameters
stream:
Gio
.
FileOutputStream
Returns
number
truncate
Fn
truncate
Fn
(
stream
:
Gio
.
FileOutputStream
, size
:
number
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
stream:
Gio
.
FileOutputStream
size:
number
cancellable:
Gio
.
Cancellable
Returns
boolean
File
Output
Stream
Class
constructor
parent
Class
name
can
Seek
can
Truncate
get
Etag
query
Info
query
Info
Async
query
Info
Finish
seek
tell
truncate
Fn
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5GaWxlT3V0cHV0U3RyZWFtQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6Ikdpb18yXzAuR2lvLkZpbGVPdXRwdXRTdHJlYW1DbGFzcy5odG1sI3BhcmVudENsYXNzIiwibmFtZSI6InBhcmVudENsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHaW9fMl8wLkdpby5GaWxlT3V0cHV0U3RyZWF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