IOFuncs
constructor
name
io
Close
io
Create
Watch
io
Free
io
Get
Flags
io
Read
io
Seek
io
Set
Flags
io
Write
NODE-GTK 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
, bytesRead
:
number
)
:
IOStatus
Parameters
channel:
IOChannel
buf:
string
count:
number
bytesRead:
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
, bytesWritten
:
number
)
:
IOStatus
Parameters
channel:
IOChannel
buf:
string
count:
number
bytesWritten:
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:ey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