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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerPointer to a buffer where data will be written.longthe available size in @buffer.voidsetFieldBuffer(Pointer buffer) Pointer to a buffer where data will be written.voidsetFieldSize(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, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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.
-