| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public int | arrayLength()
Implements abstract jnr. |
| public int | arrayOffset()
Implements abstract jnr. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public final 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 final 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 final 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 final 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 final 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 final 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 final 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 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 final 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 final 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 final 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 final 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 boolean | hasArray()
Implements abstract jnr. Pointer instance is backed by an array.
|
| public int | |
| 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.
|
| private static void | |
| public final 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. 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. byte values.
|
| public final 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. 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. short values.
|
| public final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 final 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 | |
| public final 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. |
| public void | transferFrom(long
the offset from the start of the memory location this offset, Pointer Pointer represents to begin copying to.the destination memory location to transfer data from. other, long the offset from the start of the memory location the destination otherOffset, long Pointer represents to begin copying from.the number of bytes to transfer. count)
Bulk data transfer from one memory location to another.
|
| public void | transferTo(long
the offset from the start of the memory location this offset, Pointer Pointer represents to begin copying from.the destination memory location to transfer data to. other, long the offset from the start of the memory location the destination otherOffset, long Pointer represents to begin copying to.the number of bytes to transfer. count)Overrides jnr. |
| IO | back to summary |
|---|---|
| pack-priv static final MemoryIO IO | |
| DirectMemoryIO | back to summary |
|---|---|
| pack-priv DirectMemoryIO(Runtime runtime, long address) | |
| DirectMemoryIO | back to summary |
|---|---|
| pack-priv DirectMemoryIO(Runtime runtime, int address) | |
| array | back to summary |
|---|---|
| public Object array() Implements abstract jnr. Doc from jnr. Returns the array that backs this pointer. | |
| arrayLength | back to summary |
|---|---|
| public 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 int arrayOffset() Implements abstract jnr. Doc from jnr. Returns the offset within this pointer's backing array of the first element.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| get | back to summary |
|---|---|
| public final 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 final 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 final 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 final 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 final 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 final 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 final byte getByte(long offset) Implements abstract jnr. Doc from jnr. Reads an
| |
| getDouble | back to summary |
|---|---|
| public final double getDouble(long offset) Implements abstract jnr. Doc from jnr. Reads a
| |
| getFloat | back to summary |
|---|---|
| public final float getFloat(long offset) Implements abstract jnr. Doc from jnr. Reads a
| |
| getInt | back to summary |
|---|---|
| public final int getInt(long offset) Implements abstract jnr. Doc from jnr. Reads an
| |
| getLongLong | back to summary |
|---|---|
| public final 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 final 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 boolean hasArray() Implements abstract jnr. Doc from jnr. Indicates whether this
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| 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
| |
| memcpy | back to summary |
|---|---|
| private static void memcpy(DirectMemoryIO src, long srcOffset, DirectMemoryIO dst, long dstOffset, long count) | |
| put | back to summary |
|---|---|
| public final void put(long offset, byte[] src, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public final void put(long offset, short[] src, int off, int len) Implements abstract jnr. Doc from jnr. Bulk put method for multiple
| |
| put | back to summary |
|---|---|
| public final 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 final 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 final 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 final 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 final void putByte(long offset, byte value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putDouble | back to summary |
|---|---|
| public final void putDouble(long offset, double value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putFloat | back to summary |
|---|---|
| public final void putFloat(long offset, float value) Implements abstract jnr. Doc from jnr. Writes a
| |
| putInt | back to summary |
|---|---|
| public final void putInt(long offset, int value) Implements abstract jnr. Doc from jnr. Writes an
| |
| putLongLong | back to summary |
|---|---|
| public final 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 final 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 | |
| putZeroTerminatedByteArray | back to summary |
|---|---|
| public void putZeroTerminatedByteArray(long offset, byte[] src, int off, int len) | |
| setMemory | back to summary |
|---|---|
| public final 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).
| |
| transferFrom | back to summary |
|---|---|
| public void transferFrom(long offset, Pointer other, long otherOffset, long count) Overrides jnr. Doc from jnr. Bulk data transfer from one memory location to another.
| |
| transferTo | back to summary |
|---|---|
| public void transferTo(long offset, Pointer other, long otherOffset, long count) Overrides jnr. Doc from jnr. Bulk data transfer from one memory location to another.
| |