Class MemoryIO.NativeImpl64

Enclosing class:
MemoryIO

private static final class MemoryIO.NativeImpl64 extends MemoryIO.NativeImpl
A 64 bit optimized implementation of MemoryIO using JNI.
  • Constructor Details

    • NativeImpl64

      private NativeImpl64()
  • Method Details

    • getAddress

      public final long getAddress(long address)
      Description copied from class: MemoryIO
      Reads a native memory address from a native memory location.
      Specified by:
      getAddress in class MemoryIO
      Parameters:
      address - The memory location to get the value from.
      Returns:
      A long containing the value.
    • putAddress

      public final void putAddress(long address, long value)
      Description copied from class: MemoryIO
      Writes a native memory address value to a native memory location.
      Specified by:
      putAddress in class MemoryIO
      Parameters:
      address - The memory location to put the value.
      value - The value to write to memory.