Seekable
Iface
constructor
g
Iface
name
can
Seek
can
Truncate
seek
tell
truncate
Fn
NODE-GTK API Reference
Gio-2.0
Gio
SeekableIface
Class SeekableIface
Provides an interface for implementing seekable functionality on I/O Streams.
record
Hierarchy
SeekableIface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
can
Seek
can
Truncate
seek
tell
truncate
Fn
Constructors
constructor
new
Seekable
Iface
(
)
:
SeekableIface
Returns
SeekableIface
Properties
g
Iface
g
Iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
can
Seek
can
Seek
(
seekable
:
Seekable
)
:
boolean
Parameters
seekable:
Seekable
Returns
boolean
can
Truncate
can
Truncate
(
seekable
:
Seekable
)
:
boolean
Parameters
seekable:
Seekable
Returns
boolean
seek
seek
(
seekable
:
Seekable
, offset
:
number
, type
:
GLib
.
SeekType
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
seekable:
Seekable
offset:
number
type:
GLib
.
SeekType
cancellable:
Gio
.
Cancellable
Returns
boolean
tell
tell
(
seekable
:
Seekable
)
:
number
Parameters
seekable:
Seekable
Returns
number
truncate
Fn
truncate
Fn
(
seekable
:
Seekable
, offset
:
number
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
seekable:
Seekable
offset:
number
cancellable:
Gio
.
Cancellable
Returns
boolean
Seekable
Iface
constructor
g
Iface
name
can
Seek
can
Truncate
seek
tell
truncate
Fn
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5TZWVrYWJsZUlmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5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