| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final Pointer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Object | |
| public final int | arrayLength()
Implements abstract jnr. |
| public final int | arrayOffset()
Implements abstract jnr. |
| public void | get(long
the offset from the start of the memory this offset, byte[] Pointer represents at which the first value will be read.the array into which values are to be stored. dst, int the start index in the off, int dst array to begin storing the values.the number of values to be read. len)Implements abstract jnr. byte values.
|
| public void | get(long
The offset from the start of the memory this offset, short[] Pointer represents at which the first value will be read.The array into which values are to be stored. dst, int the start index in the off, int dst array to begin storing the values.the number of values to be read. len)Implements abstract jnr. short values.
|
| public void | get(long
The offset from the start of the memory this offset, int[] Pointer represents at which the first value will be read.The array into which values are to be stored. dst, int the start index in the off, int dst array to begin storing the values.the number of values to be read. len)Implements abstract jnr. int values.
|
| public void | get(long
The offset from the start of the memory this offset, long[] Pointer represents at which the first value will be read.The array into which values are to be stored. dst, int the start index in the off, int dst array to begin storing the values.the number of values to be read. len)Implements abstract jnr. long values.
|
| public void | get(long
The offset from the start of the memory this offset, float[] Pointer represents at which the first value will be read.The array into which values are to be stored. dst, int the start index in the off, int dst array to begin storing the values.the number of values to be read. len)Implements abstract jnr. float values.
|
| public void | get(long
The offset from the start of the memory this offset, double[] Pointer represents at which the first value will be read.The array into which values are to be stored. dst, int the start index in the off, int dst array to begin storing the values.the number of values to be read. len)Implements abstract jnr. double values.
|
| public byte | getByte(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. byte (8 bit) value at the given offset.
|
| public final Pointer | |
| public double | getDouble(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. double (64 bit) value at the given offset.
|
| public float | getFloat(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. float (32 bit) value at the given offset.
|
| public int | getInt(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. int (32 bit) value at the given offset.
|
| public long | getLong(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Overrides jnr. long (64 bit) value at the given offset.
|
| public long | getLongLong(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. long (64 bit) value at the given offset.
|
| public Pointer | getPointer(long
the offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. Pointer value at the given offset.
|
| public Pointer | getPointer(long
the offset from the start of the memory this offset, long Pointer represents at which the value will be read.the maximum size of the memory location the returned size)Pointer represents.Implements abstract jnr. Pointer value at the given offset.
|
| public short | getShort(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. short (16 bit) value at the given offset.
|
| public String | getString(long
the offset from the start of the memory this offset)Pointer represents at which the value will be read.Implements abstract jnr. String value at the given offset.
|
| public String | getString(long
the offset from the start of the memory this offset, int Pointer represents at which the value will be read.the maximum size of memory to search for a NUL byte. maxLength, Charset the cs)Charset to use to decode the string.Implements abstract jnr. String value at the given offset, using a specific Charset
|
| public final boolean | hasArray()
Implements abstract jnr. Pointer instance is backed by an array.
|
| public int | indexOf(long
the offset from the start of the memory location this offset, byte Pointer represents to begin searching.the value, int byte value to locate.the maximum number of bytes to search for the desired value. maxlen)Implements abstract jnr. Pointer.
|
| public void | put(long
the offset from the start of the memory this offset, byte[] Pointer represents at which the first value will be written.the array to get values from. dst, int the start index in the off, int dst array to begin reading values.the number of values to be written. len)Implements abstract jnr. byte values.
|
| public void | put(long
the offset from the start of the memory this offset, short[] Pointer represents at which the first value will be written.the array to get values from. dst, int the start index in the off, int dst array to begin reading values.the number of values to be written. len)Implements abstract jnr. short values.
|
| public void | put(long
the offset from the start of the memory this offset, int[] Pointer represents at which the first value will be written.the array to get values from. src, int the start index in the off, int dst array to begin reading values.the number of values to be written. len)Implements abstract jnr. int values.
|
| public void | put(long
the offset from the start of the memory this offset, long[] Pointer represents at which the first value will be written.the array to get values from. src, int the start index in the off, int dst array to begin reading values.the number of values to be written. len)Implements abstract jnr. long values.
|
| public void | put(long
the offset from the start of the memory this offset, float[] Pointer represents at which the first value will be written.the array to get values from. src, int the start index in the off, int dst array to begin reading values.the number of values to be written. len)Implements abstract jnr. float values.
|
| public void | put(long
the offset from the start of the memory this offset, double[] Pointer represents at which the first value will be written.the array to get values from. src, int the start index in the off, int dst array to begin reading values.the number of values to be written. len)Implements abstract jnr. double values.
|
| public void | putByte(long
The offset from the start of the memory this offset, byte Pointer represents at which the value will be written.the value)byte value to be written.Implements abstract jnr. byte (8 bit) value at the given offset.
|
| public void | putDouble(long
The offset from the start of the memory this offset, double Pointer represents at which the value will be written.the value)double value to be written.Implements abstract jnr. double (64 bit, double precision) value at the given offset.
|
| public void | putFloat(long
The offset from the start of the memory this offset, float Pointer represents at which the value will be written.the value)float value to be written.Implements abstract jnr. float (32 bit, single precision) value at the given offset.
|
| public void | putInt(long
The offset from the start of the memory this offset, int Pointer represents at which the value will be written.the value)int value to be written.Implements abstract jnr. int (32 bit) value at the given offset.
|
| public void | putLong(long
The offset from the start of the memory this offset, long Pointer represents at which the value will be written.the value)long value to be written.Overrides jnr. native long value at the given offset.
|
| public void | putLongLong(long
The offset from the start of the memory this offset, long Pointer represents at which the value will be written.the value)long value to be written.Implements abstract jnr. long (64 bit) value at the given offset.
|
| public void | putPointer(long
The offset from the start of the memory this offset, Pointer Pointer represents at which the value will be written.the value)Pointer value to be written to memory.Implements abstract jnr. Pointer value at the given offset.
|
| public void | putShort(long
The offset from the start of the memory this offset, short Pointer represents at which the value will be written.the value)short value to be written.Implements abstract jnr. short (16 bit) value at the given offset.
|
| public void | putString(long
the offset from the start of the memory this offset, String Pointer represents at which the value will be written.the string to be written. string, int the maximum size of memory to use to store the string. maxLength, Charset the cs)Charset to use to decode the string.Implements abstract jnr. String value at the given offset, using a specific Charset
|
| public void | setMemory(long
the offset from the start of the memory location this offset, long Pointer represents to begin writing to.the number of bytes to set to the value. size, byte the value to set each byte to. value)Implements abstract jnr. Pointer.
|
| public long | size()
Implements abstract jnr. |
| base | back to summary |
|---|---|
| private final long base | |
| ptr | back to summary |
|---|---|
| private final Pointer ptr | |
| ShareMemoryIO | back to summary |
|---|---|
| public ShareMemoryIO(Pointer parent, long offset) | |
| array | back to summary |
|---|---|
| public final Object array() Implements abstract jnr. Doc from jnr. Returns the array that backs this pointer. | |
| arrayLength | back to summary |
|---|---|
| public final int arrayLength() Implements abstract jnr. Doc from jnr. Returns the length of this pointer's backing array that is used by this pointer.
| |
| arrayOffset | back to summary |
|---|---|
| public final int arrayOffset() Implements abstract jnr. Doc from jnr. Returns the offset within this pointer's backing array of the first element.
| |
| get | back to summary |
|---|---|
| public void get(long offset, byte[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk get method for multiple
| |
| get | back to summary |
|---|---|
| public void get(long offset, short[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk get method for multiple
| |
| get | back to summary |
|---|---|
| public void get(long offset, int[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk get method for multiple
| |
| get | back to summary |
|---|---|
| public void get(long offset, long[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk get method for multiple
| |
| get | back to summary |
|---|---|
| public void get(long offset, float[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk get method for multiple
| |
| get | back to summary |
|---|---|
| public void get(long offset, double[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk get method for multiple
| |
| getByte | back to summary |
|---|---|
| public byte getByte(long offset) Implements abstract jnr. Doc from jnr. Reads an
| |
| getDelegatedMemoryIO | back to summary |
|---|---|
| public final Pointer getDelegatedMemoryIO() Implements jnr. | |
| getDouble | back to summary |
|---|---|
| public double getDouble(long offset) Implements abstract jnr. Doc from jnr. Reads a
| |
| getFloat | back to summary |
|---|---|
| public float getFloat(long offset) Implements abstract jnr. Doc from jnr. Reads a
| |
| getInt | back to summary |
|---|---|
| public int getInt(long offset) Implements abstract jnr. Doc from jnr. Reads an
| |
| getLong | back to summary |
|---|---|
| public long getLong(long offset) Overrides jnr. Doc from jnr. Reads a
| |
| getLongLong | back to summary |
|---|---|
| public long getLongLong(long offset) Implements abstract jnr. Doc from jnr. Reads a
| |
| getPointer | back to summary |
|---|---|
| public Pointer getPointer(long offset) Implements abstract jnr. Doc from jnr. Reads an
| |
| getPointer | back to summary |
|---|---|
| public Pointer getPointer(long offset, long size) Implements abstract jnr. Doc from jnr. Reads an
| |
| getShort | back to summary |
|---|---|
| public short getShort(long offset) Implements abstract jnr. Doc from jnr. Reads a
| |
| getString | back to summary |
|---|---|
| public String getString(long offset) Implements abstract jnr. Doc from jnr. Reads an | |
| getString | back to summary |
|---|---|
| public String getString(long offset, int maxLength, Charset cs) Implements abstract jnr. Doc from jnr. Reads a | |
| hasArray | back to summary |
|---|---|
| public final boolean hasArray() Implements abstract jnr. Doc from jnr. Indicates whether this
| |
| indexOf | back to summary |
|---|---|
| public int indexOf(long offset, byte value, int maxlen) Implements abstract jnr. Doc from jnr. Returns the location of a byte value within the memory area represented by this
| |
| put | back to summary |
|---|---|
| public void put(long offset, byte[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public void put(long offset, short[] dst, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public void put(long offset, int[] src, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public void put(long offset, long[] src, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public void put(long offset, float[] src, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public void put(long offset, double[] src, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| putByte | back to summary |
|---|---|
| public void putByte(long offset, byte value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putDouble | back to summary |
|---|---|
| public void putDouble(long offset, double value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putFloat | back to summary |
|---|---|
| public void putFloat(long offset, float value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putInt | back to summary |
|---|---|
| public void putInt(long offset, int value) Implements abstract jnr. Doc from jnr. Writes an
| |
| putLong | back to summary |
|---|---|
| public void putLong(long offset, long value) Overrides jnr. Doc from jnr. Writes a
| |
| putLongLong | back to summary |
|---|---|
| public void putLongLong(long offset, long value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putPointer | back to summary |
|---|---|
| public void putPointer(long offset, Pointer value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putShort | back to summary |
|---|---|
| public void putShort(long offset, short value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putString | back to summary |
|---|---|
| public void putString(long offset, String string, int maxLength, Charset cs) Implements abstract jnr. Doc from jnr. Writes a
| |
| setMemory | back to summary |
|---|---|
| public void setMemory(long offset, long size, byte value) Implements abstract jnr. Doc from jnr. Sets the value of each byte in the memory area represented by this
| |
| size | back to summary |
|---|---|
| public long size() Implements abstract jnr. Doc from jnr. Gets the size of this memory object in bytes (optional operation).
| |