File
Input
Stream
Class
constructor
parent_
class
name
can_
seek
query_
info
query_
info_
async
query_
info_
finish
seek
tell
GJS API Reference
Gio-2.0
Gio
FileInputStreamClass
Class FileInputStreamClass
Hierarchy
FileInputStreamClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
can_
seek
query_
info
query_
info_
async
query_
info_
finish
seek
tell
Constructors
constructor
new
File
Input
Stream
Class
(
)
:
Gio
.
FileInputStreamClass
Returns
Gio
.
FileInputStreamClass
Properties
parent_
class
parent_
class
:
Gio
.
InputStreamClass
Static
name
name
:
string
Methods
can_
seek
can_
seek
(
stream
:
Gio
.
FileInputStream
)
:
boolean
Parameters
stream:
Gio
.
FileInputStream
Returns
boolean
query_
info
query_
info
(
stream
:
Gio
.
FileInputStream
, attributes
:
string
, cancellable
:
Gio
.
Cancellable
)
:
Gio
.
FileInfo
Parameters
stream:
Gio
.
FileInputStream
attributes:
string
cancellable:
Gio
.
Cancellable
Returns
Gio
.
FileInfo
query_
info_
async
query_
info_
async
(
stream
:
Gio
.
FileInputStream
, attributes
:
string
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
FileInputStream
attributes:
string
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
query_
info_
finish
query_
info_
finish
(
stream
:
Gio
.
FileInputStream
, result
:
AsyncResult
)
:
Gio
.
FileInfo
Parameters
stream:
Gio
.
FileInputStream
result:
AsyncResult
Returns
Gio
.
FileInfo
seek
seek
(
stream
:
Gio
.
FileInputStream
, offset
:
number
, type
:
GLib
.
SeekType
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
stream:
Gio
.
FileInputStream
offset:
number
type:
GLib
.
SeekType
cancellable:
Gio
.
Cancellable
Returns
boolean
tell
tell
(
stream
:
Gio
.
FileInputStream
)
:
number
Parameters
stream:
Gio
.
FileInputStream
Returns
number
File
Input
Stream
Class
constructor
parent_
class
name
can_
seek
query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