Class UnsafeMemoryIO.UnsafeMemoryIO32

  • Enclosing class:
    UnsafeMemoryIO

    static class UnsafeMemoryIO.UnsafeMemoryIO32
    extends UnsafeMemoryIO
    A 32 bit optimized implementation of MemoryIO using sun.misc.Unsafe
    • Constructor Detail

      • UnsafeMemoryIO32

        UnsafeMemoryIO32()
    • Method Detail

      • 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.