Class HeapMemory

    • Constructor Detail

      • HeapMemory

        public HeapMemory​(int length,
                          java.nio.ByteOrder endianness)
      • HeapMemory

        public HeapMemory​(byte[] data,
                          java.nio.ByteOrder endianness)
      • HeapMemory

        public HeapMemory​(byte[] data,
                          int offset,
                          int length,
                          java.nio.ByteOrder endianness)
    • 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,
                             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,
                             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 Memory slice​(long startAddress,
                            long sliceLength)
      • length

        public long length()
      • isDirect

        public boolean isDirect()
      • getOrder

        public java.nio.ByteOrder getOrder()