Input
Stream
Class
constructor
parent_
class
name
close_
async
close_
finish
close_
fn
read_
async
read_
finish
read_
fn
skip
skip_
async
skip_
finish
GJS API Reference
Gio-2.0
Gio
InputStreamClass
Class InputStreamClass
Hierarchy
InputStreamClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
close_
async
close_
finish
close_
fn
read_
async
read_
finish
read_
fn
skip
skip_
async
skip_
finish
Constructors
constructor
new
Input
Stream
Class
(
)
:
Gio
.
InputStreamClass
Returns
Gio
.
InputStreamClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
close_
async
close_
async
(
stream
:
Gio
.
InputStream
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
InputStream
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
close_
finish
close_
finish
(
stream
:
Gio
.
InputStream
, result
:
AsyncResult
)
:
boolean
Parameters
stream:
Gio
.
InputStream
result:
AsyncResult
Returns
boolean
close_
fn
close_
fn
(
stream
:
Gio
.
InputStream
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
stream:
Gio
.
InputStream
cancellable:
Gio
.
Cancellable
Returns
boolean
read_
async
read_
async
(
stream
:
Gio
.
InputStream
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
Uint8Array
Parameters
stream:
Gio
.
InputStream
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
Uint8Array
read_
finish
read_
finish
(
stream
:
Gio
.
InputStream
, result
:
AsyncResult
)
:
number
Parameters
stream:
Gio
.
InputStream
result:
AsyncResult
Returns
number
read_
fn
read_
fn
(
stream
:
Gio
.
InputStream
, buffer
:
object
, count
:
number
, cancellable
:
Gio
.
Cancellable
)
:
number
Parameters
stream:
Gio
.
InputStream
buffer:
object
count:
number
cancellable:
Gio
.
Cancellable
Returns
number
skip
skip
(
stream
:
Gio
.
InputStream
, count
:
number
, cancellable
:
Gio
.
Cancellable
)
:
number
Parameters
stream:
Gio
.
InputStream
count:
number
cancellable:
Gio
.
Cancellable
Returns
number
skip_
async
skip_
async
(
stream
:
Gio
.
InputStream
, count
:
number
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
stream:
Gio
.
InputStream
count:
number
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
skip_
finish
skip_
finish
(
stream
:
Gio
.
InputStream
, result
:
AsyncResult
)
:
number
Parameters
stream:
Gio
.
InputStream
result:
AsyncResult
Returns
number
Input
Stream
Class
constructor
parent_
class
name
close_
async
close_
finish
close_
fn
read_
async
read_
finish
read_
fn
skip
skip_
async
skip_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5JbnB1dFN0cmVhbUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5JbnB1dFN0cmVhbUNsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR2lvXzJfMC5HaW8uS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