Package ch.bailu.gtk.gio
Class InputVector
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.InputVector
- All Implemented Interfaces:
PointerInterface
Structure used for scatter/gather data input.
You generally pass in an array of #GInputVectors
and the operation will store the read data starting in the
first buffer, switching to the next as needed.
You generally pass in an array of #GInputVectors
and the operation will store the read data starting in the
first buffer, switching to the next as needed.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
Pointer to a buffer where data will be written.long
the available size in @buffer.void
setFieldBuffer
(Pointer buffer) Pointer to a buffer where data will be written.void
setFieldSize
(long size) the available size in @buffer.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
BUFFER
Pointer to a buffer where data will be written.- See Also:
-
SIZE
the available size in @buffer.- See Also:
-
-
Constructor Details
-
InputVector
-
InputVector
public InputVector()
-
-
Method Details
-
getClassHandler
-
setFieldBuffer
Pointer to a buffer where data will be written. -
getFieldBuffer
Pointer to a buffer where data will be written. -
setFieldSize
public void setFieldSize(long size) the available size in @buffer. -
getFieldSize
public long getFieldSize()the available size in @buffer.
-