Package org.gnome.gio
Class Seekable.SeekableIface
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gio.Seekable.SeekableIface
-
Constructor Summary
ConstructorDescriptionAllocate a new SeekableIface.SeekableIface
(Arena arena) Allocate a new SeekableIface.SeekableIface
(MemorySegment address) Create a SeekableIface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideCanSeek
(Arena arena, Method method) Override virtual methodcan_seek
.void
overrideCanTruncate
(Arena arena, Method method) Override virtual methodcan_truncate
.void
overrideSeek
(Arena arena, Method method) Override virtual methodseek
.void
overrideTell
(Arena arena, Method method) Override virtual methodtell
.void
overrideTruncateFn
(Arena arena, Method method) Override virtual methodtruncate_fn
.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
SeekableIface
Create a SeekableIface proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
SeekableIface
Allocate a new SeekableIface.- Parameters:
arena
- to control the memory allocation scope
-
SeekableIface
public SeekableIface()Allocate a new SeekableIface. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideTell
-
overrideCanSeek
-
overrideSeek
-
overrideCanTruncate
-
overrideTruncateFn
-