IOFuncs
constructor
name
io_
close
io_
create_
watch
io_
free
io_
get_
flags
io_
read
io_
seek
io_
set_
flags
io_
write
GJS API Reference
GLib-2.0
GLib
IOFuncs
Class IOFuncs
A table of functions used to handle different types of #GIOChannel in a generic way.
record
Hierarchy
IOFuncs
Index
Constructors
constructor
Properties
name
Methods
io_
close
io_
create_
watch
io_
free
io_
get_
flags
io_
read
io_
seek
io_
set_
flags
io_
write
Constructors
constructor
new IOFuncs
(
)
:
IOFuncs
Returns
IOFuncs
Properties
Static
name
name
:
string
Methods
io_
close
io_
close
(
channel
:
IOChannel
)
:
IOStatus
Parameters
channel:
IOChannel
Returns
IOStatus
io_
create_
watch
io_
create_
watch
(
channel
:
IOChannel
, condition
:
IOCondition
)
:
GLib
.
Source
Parameters
channel:
IOChannel
condition:
IOCondition
Returns
GLib
.
Source
io_
free
io_
free
(
channel
:
IOChannel
)
:
void
Parameters
channel:
IOChannel
Returns
void
io_
get_
flags
io_
get_
flags
(
channel
:
IOChannel
)
:
IOFlags
Parameters
channel:
IOChannel
Returns
IOFlags
io_
read
io_
read
(
channel
:
IOChannel
, buf
:
string
, count
:
number
, bytes_read
:
number
)
:
IOStatus
Parameters
channel:
IOChannel
buf:
string
count:
number
bytes_read:
number
Returns
IOStatus
io_
seek
io_
seek
(
channel
:
IOChannel
, offset
:
number
, type
:
GLib
.
SeekType
)
:
IOStatus
Parameters
channel:
IOChannel
offset:
number
type:
GLib
.
SeekType
Returns
IOStatus
io_
set_
flags
io_
set_
flags
(
channel
:
IOChannel
, flags
:
IOFlags
)
:
IOStatus
Parameters
channel:
IOChannel
flags:
IOFlags
Returns
IOStatus
io_
write
io_
write
(
channel
:
IOChannel
, buf
:
string
, count
:
number
, bytes_written
:
number
)
:
IOStatus
Parameters
channel:
IOChannel
buf:
string
count:
number
bytes_written:
number
Returns
IOStatus
IOFuncs
constructor
name
io_
close
io_
create_
watch
io_
free
io_
get_
flags
io_
read
io_
seek
io_
set_
flags
io_
write
base64:eyJwYWdl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