| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final Pointer | |
| private final long |
| 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 | checkBounds(long
the starting point within this memory region. offset, long the length of the memory region in bytes length)
Checks that the memory region is within the bounds of this memory object
|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| 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 long | getAddress(long
The offset from the start of the memory this offset)Pointer represents at which the value will be read.Overrides jnr. |
| 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 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 | 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, 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 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 final 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)byte value to locate.Overrides jnr. Pointer.
|
| 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 | putAddress(long
The offset from the start of the memory this offset, long Pointer represents at which the value will be written.The native address value to be written. value)Overrides jnr. |
| public void | putAddress(long
The offset from the start of the memory this offset, Address Pointer represents at which the value will be written.The native address value to be written. value)Overrides jnr. |
| 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 | 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. |
| 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. |
| base | back to summary |
|---|---|
| private final long base | |
| io | back to summary |
|---|---|
| private final Pointer io | |
| size | back to summary |
|---|---|
| private final long size | |
| BoundedMemoryIO | back to summary |
|---|---|
| public BoundedMemoryIO(Pointer parent, long offset, long size) | |
| 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.
| |
| checkBounds | back to summary |
|---|---|
| public void checkBounds(long offset, long length) Overrides jnr. Doc from jnr. Checks that the memory region is within the bounds of this memory object
| |
| 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 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
| |
| getAddress | back to summary |
|---|---|
| public long getAddress(long offset) Overrides jnr. Doc from jnr. Reads a native memory address value at the given offset. A native address can be either 32 or 64 bits in size, depending on the cpu architecture.
| |
| getByte | back to summary |
|---|---|
| public byte getByte(long offset) Implements abstract jnr. Doc from jnr. Reads an
| |
| getDelegatedMemoryIO | back to summary |
|---|---|
| public 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
| |
| 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, int maxLength, Charset cs) 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 | |
| hasArray | back to summary |
|---|---|
| public final 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) Overrides jnr. Doc from jnr. Returns the location of a byte value within the memory area represented by 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
| |
| putAddress | back to summary |
|---|---|
| public void putAddress(long offset, long value) Overrides jnr. Doc from jnr. Writes a native memory address value at the given offset. A native address can be either 32 or 64 bits in size, depending on the cpu architecture.
| |
| putAddress | back to summary |
|---|---|
| public void putAddress(long offset, Address value) Overrides jnr. Doc from jnr. Writes a native memory address value at the given offset. A native address can be either 32 or 64 bits in size, depending on the cpu architecture. | |
| 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
| |
| 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).
| |
| 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.
| |