|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
Public Member Functions | |
| StructAccessor (final ByteBuffer bb) | |
| Create a new instance. More... | |
| final ByteBuffer | getBuffer () |
| Return the underlying native direct ByteBuffer. More... | |
| final long | getDirectBufferAddress () |
| Returns the native address of the underlying native ByteBuffer. More... | |
| final ByteBuffer | slice (final int byteOffset, final int byteLength) |
| Returns a slice of the current ByteBuffer starting at the specified byte offset and extending the specified number of bytes. More... | |
| final byte | getByteAt (final int byteOffset) |
| Retrieves the byte at the specified byteOffset. More... | |
| final void | setByteAt (final int byteOffset, final byte v) |
| Puts a byte at the specified byteOffset. More... | |
| final boolean | getBooleanAt (final int byteOffset) |
| Retrieves the boolean at the specified byteOffset. More... | |
| final void | setBooleanAt (final int byteOffset, final boolean v) |
| Puts a boolean at the specified byteOffset. More... | |
| final char | getCharAt (final int byteOffset) |
| Retrieves the char at the specified byteOffset. More... | |
| final void | setCharAt (final int byteOffset, final char v) |
| Puts a char at the specified byteOffset. More... | |
| final short | getShortAt (final int byteOffset) |
| Retrieves the short at the specified byteOffset. More... | |
| final void | setShortAt (final int byteOffset, final short v) |
| Puts a short at the specified byteOffset. More... | |
| final int | getIntAt (final int byteOffset) |
| Retrieves the int at the specified byteOffset. More... | |
| final void | setIntAt (final int byteOffset, final int v) |
| Puts a int at the specified byteOffset. More... | |
| final int | getIntAt (final int byteOffset, final int nativeSizeInBytes) |
| Retrieves the int at the specified byteOffset. More... | |
| final void | setIntAt (final int byteOffset, final int v, final int nativeSizeInBytes) |
| Puts a int at the specified byteOffset. More... | |
| final float | getFloatAt (final int byteOffset) |
| Retrieves the float at the specified byteOffset. More... | |
| final void | setFloatAt (final int byteOffset, final float v) |
| Puts a float at the specified byteOffset. More... | |
| final double | getDoubleAt (final int byteOffset) |
| Retrieves the double at the specified byteOffset. More... | |
| final void | setDoubleAt (final int byteOffset, final double v) |
| Puts a double at the specified byteOffset. More... | |
| final long | getLongAt (final int byteOffset) |
| Retrieves the long at the specified byteOffset. More... | |
| final void | setLongAt (final int byteOffset, final long v) |
| Puts a long at the specified byteOffset. More... | |
| final long | getLongAt (final int byteOffset, final int nativeSizeInBytes) |
| Retrieves the long at the specified byteOffset. More... | |
| final void | setLongAt (final int byteOffset, final long v, final int nativeSizeInBytes) |
| Puts a long at the specified byteOffset. More... | |
| final void | setBytesAt (int byteOffset, final byte[] v) |
| final byte[] | getBytesAt (int byteOffset, final byte[] v) |
| final void | setBooleansAt (int byteOffset, final boolean[] v) |
| final boolean[] | getBooleansAt (int byteOffset, final boolean[] v) |
| final void | setCharsAt (int byteOffset, final char[] v) |
| final char[] | getCharsAt (int byteOffset, final char[] v) |
| final void | setShortsAt (int byteOffset, final short[] v) |
| final short[] | getShortsAt (int byteOffset, final short[] v) |
| final void | setIntsAt (int byteOffset, final int[] v) |
| final int[] | getIntsAt (int byteOffset, final int[] v) |
| final void | setFloatsAt (int byteOffset, final float[] v) |
| final float[] | getFloatsAt (int byteOffset, final float[] v) |
| final void | setDoublesAt (int byteOffset, final double[] v) |
| final double[] | getDoublesAt (int byteOffset, final double[] v) |
| final void | setLongsAt (int byteOffset, final long[] v) |
| final long[] | getLongsAt (int byteOffset, final long[] v) |
Definition at line 47 of file StructAccessor.java.
| com.jogamp.common.nio.StructAccessor.StructAccessor | ( | final ByteBuffer | bb | ) |
Create a new instance.
The ByteBuffer will be ByteBuffer#rewind() and native-order to be used with native code set.
Definition at line 52 of file StructAccessor.java.
| final boolean com.jogamp.common.nio.StructAccessor.getBooleanAt | ( | final int | byteOffset | ) |
Retrieves the boolean at the specified byteOffset.
Definition at line 93 of file StructAccessor.java.
| final boolean[] com.jogamp.common.nio.StructAccessor.getBooleansAt | ( | int | byteOffset, |
| final boolean[] | v | ||
| ) |
Definition at line 238 of file StructAccessor.java.
| final ByteBuffer com.jogamp.common.nio.StructAccessor.getBuffer | ( | ) |
Return the underlying native direct ByteBuffer.
Definition at line 58 of file StructAccessor.java.
| final byte com.jogamp.common.nio.StructAccessor.getByteAt | ( | final int | byteOffset | ) |
Retrieves the byte at the specified byteOffset.
Definition at line 83 of file StructAccessor.java.
| final byte[] com.jogamp.common.nio.StructAccessor.getBytesAt | ( | int | byteOffset, |
| final byte[] | v | ||
| ) |
Definition at line 225 of file StructAccessor.java.
| final char com.jogamp.common.nio.StructAccessor.getCharAt | ( | final int | byteOffset | ) |
Retrieves the char at the specified byteOffset.
Definition at line 103 of file StructAccessor.java.
| final char[] com.jogamp.common.nio.StructAccessor.getCharsAt | ( | int | byteOffset, |
| final char[] | v | ||
| ) |
Definition at line 251 of file StructAccessor.java.
| final long com.jogamp.common.nio.StructAccessor.getDirectBufferAddress | ( | ) |
Returns the native address of the underlying native ByteBuffer.
Definition at line 63 of file StructAccessor.java.
| final double com.jogamp.common.nio.StructAccessor.getDoubleAt | ( | final int | byteOffset | ) |
Retrieves the double at the specified byteOffset.
Definition at line 174 of file StructAccessor.java.
| final double[] com.jogamp.common.nio.StructAccessor.getDoublesAt | ( | int | byteOffset, |
| final double[] | v | ||
| ) |
Definition at line 303 of file StructAccessor.java.
| final float com.jogamp.common.nio.StructAccessor.getFloatAt | ( | final int | byteOffset | ) |
Retrieves the float at the specified byteOffset.
Definition at line 164 of file StructAccessor.java.
| final float[] com.jogamp.common.nio.StructAccessor.getFloatsAt | ( | int | byteOffset, |
| final float[] | v | ||
| ) |
Definition at line 290 of file StructAccessor.java.
| final int com.jogamp.common.nio.StructAccessor.getIntAt | ( | final int | byteOffset | ) |
Retrieves the int at the specified byteOffset.
Definition at line 123 of file StructAccessor.java.
| final int com.jogamp.common.nio.StructAccessor.getIntAt | ( | final int | byteOffset, |
| final int | nativeSizeInBytes | ||
| ) |
Retrieves the int at the specified byteOffset.
Definition at line 133 of file StructAccessor.java.
| final int[] com.jogamp.common.nio.StructAccessor.getIntsAt | ( | int | byteOffset, |
| final int[] | v | ||
| ) |
Definition at line 277 of file StructAccessor.java.
| final long com.jogamp.common.nio.StructAccessor.getLongAt | ( | final int | byteOffset | ) |
Retrieves the long at the specified byteOffset.
Definition at line 184 of file StructAccessor.java.
| final long com.jogamp.common.nio.StructAccessor.getLongAt | ( | final int | byteOffset, |
| final int | nativeSizeInBytes | ||
| ) |
Retrieves the long at the specified byteOffset.
Definition at line 194 of file StructAccessor.java.
| final long[] com.jogamp.common.nio.StructAccessor.getLongsAt | ( | int | byteOffset, |
| final long[] | v | ||
| ) |
Definition at line 316 of file StructAccessor.java.
| final short com.jogamp.common.nio.StructAccessor.getShortAt | ( | final int | byteOffset | ) |
Retrieves the short at the specified byteOffset.
Definition at line 113 of file StructAccessor.java.
| final short[] com.jogamp.common.nio.StructAccessor.getShortsAt | ( | int | byteOffset, |
| final short[] | v | ||
| ) |
Definition at line 264 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setBooleanAt | ( | final int | byteOffset, |
| final boolean | v | ||
| ) |
Puts a boolean at the specified byteOffset.
Definition at line 98 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setBooleansAt | ( | int | byteOffset, |
| final boolean[] | v | ||
| ) |
Definition at line 232 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setByteAt | ( | final int | byteOffset, |
| final byte | v | ||
| ) |
Puts a byte at the specified byteOffset.
Definition at line 88 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setBytesAt | ( | int | byteOffset, |
| final byte[] | v | ||
| ) |
Definition at line 219 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setCharAt | ( | final int | byteOffset, |
| final char | v | ||
| ) |
Puts a char at the specified byteOffset.
Definition at line 108 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setCharsAt | ( | int | byteOffset, |
| final char[] | v | ||
| ) |
Definition at line 245 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setDoubleAt | ( | final int | byteOffset, |
| final double | v | ||
| ) |
Puts a double at the specified byteOffset.
Definition at line 179 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setDoublesAt | ( | int | byteOffset, |
| final double[] | v | ||
| ) |
Definition at line 297 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setFloatAt | ( | final int | byteOffset, |
| final float | v | ||
| ) |
Puts a float at the specified byteOffset.
Definition at line 169 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setFloatsAt | ( | int | byteOffset, |
| final float[] | v | ||
| ) |
Definition at line 284 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setIntAt | ( | final int | byteOffset, |
| final int | v | ||
| ) |
Puts a int at the specified byteOffset.
Definition at line 128 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setIntAt | ( | final int | byteOffset, |
| final int | v, | ||
| final int | nativeSizeInBytes | ||
| ) |
Puts a int at the specified byteOffset.
Definition at line 147 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setIntsAt | ( | int | byteOffset, |
| final int[] | v | ||
| ) |
Definition at line 271 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setLongAt | ( | final int | byteOffset, |
| final long | v | ||
| ) |
Puts a long at the specified byteOffset.
Definition at line 189 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setLongAt | ( | final int | byteOffset, |
| final long | v, | ||
| final int | nativeSizeInBytes | ||
| ) |
Puts a long at the specified byteOffset.
Definition at line 206 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setLongsAt | ( | int | byteOffset, |
| final long[] | v | ||
| ) |
Definition at line 310 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setShortAt | ( | final int | byteOffset, |
| final short | v | ||
| ) |
Puts a short at the specified byteOffset.
Definition at line 118 of file StructAccessor.java.
| final void com.jogamp.common.nio.StructAccessor.setShortsAt | ( | int | byteOffset, |
| final short[] | v | ||
| ) |
Definition at line 258 of file StructAccessor.java.
| final ByteBuffer com.jogamp.common.nio.StructAccessor.slice | ( | final int | byteOffset, |
| final int | byteLength | ||
| ) |
Returns a slice of the current ByteBuffer starting at the specified byte offset and extending the specified number of bytes.
Note that this method is not thread-safe with respect to the other methods in this class.
Definition at line 73 of file StructAccessor.java.