Class DirectMemory

    • Method Detail

      • getByte

        public byte getByte​(long l)
      • putByte

        public void putByte​(long l,
                            byte b)
      • getShort

        public short getShort​(long l)
      • putShort

        public void putShort​(long l,
                             short i)
      • getChar

        public char getChar​(long l)
      • putChar

        public void putChar​(long l,
                            char c)
      • getInt

        public int getInt​(long l)
      • putInt

        public void putInt​(long l,
                           int i)
      • getLong

        public long getLong​(long l)
      • putLong

        public void putLong​(long l,
                            long l1)
      • getFloat

        public float getFloat​(long l)
      • putFloat

        public void putFloat​(long l,
                             float v)
      • getDouble

        public double getDouble​(long l)
      • putDouble

        public void putDouble​(long l,
                              double v)
      • putBytes

        public void putBytes​(long l,
                             byte[] bytes)
      • putBytes

        public void putBytes​(long l,
                             byte[] bytes,
                             int start,
                             int length)
      • putBytes

        public void putBytes​(long l,
                             DirectMemory source)
      • putBytes

        public void putBytes​(long l,
                             DirectMemory source,
                             long start,
                             long length)
      • putBytes

        public void putBytes​(long l,
                             Memory source)
      • putBytes

        public void putBytes​(long l,
                             Memory source,
                             long start,
                             long length)
      • putBytes

        public void putBytes​(long l,
                             java.nio.ByteBuffer source)
      • getBytes

        public void getBytes​(long l,
                             byte[] bytes)
      • getBytes

        public void getBytes​(long l,
                             byte[] bytes,
                             int start,
                             int length)
      • getBytes

        public void getBytes​(long l,
                             DirectMemory dest)
      • getBytes

        public void getBytes​(long l,
                             DirectMemory dest,
                             long start,
                             long length)
      • getBytes

        public void getBytes​(long l,
                             Memory dest)
      • getBytes

        public void getBytes​(long l,
                             Memory dest,
                             long start,
                             long length)
      • getBytes

        public void getBytes​(long l,
                             java.nio.ByteBuffer dest)
      • slice

        public DirectMemory slice​(long startAddress,
                                  long sliceLength)
      • length

        public long length()
      • isDirect

        public boolean isDirect()
      • getOrder

        public java.nio.ByteOrder getOrder()
      • getAddress

        @Deprecated
        public long getAddress()
        Deprecated.
        this is really only here for passing to jni calls. don't use it for anything else. deprecated to make your code ugly if you use it.
        Returns:
        address