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
GJS 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
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
FileOutputStream
attributes:
string
io_priority:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5GaWxlT3V0cHV0U3RyZWFtQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6Ikdpb18yXzAuR2lvLkZpbGVPdXRwdXRTdHJlYW1DbGFzcy5odG1sI3BhcmVudF9jbGFzcyIsIm5hbWUiOiJwYXJlbnRfY2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6Ikdpb18yXzAuR2lvLkZpbGVPdXRwdXRTdHJlYW1D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