Class ByteArray


  • public final class ByteArray
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteArray​(Memory buffer, long address, long length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte get​(long index)  
      void get​(long index, byte[] bytes)  
      void get​(long index, byte[] bytes, int start, int length)  
      void get​(long index, ByteArray bytes)  
      void get​(long index, ByteArray bytes, long start, long length)  
      long length()  
      void set​(long index, byte value)  
      void set​(long index, byte[] bytes)  
      void set​(long index, byte[] bytes, int start, int length)  
      void set​(long index, ByteArray bytes)  
      void set​(long index, ByteArray bytes, long start, long length)  
      ByteArray slice​(long start, long length)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteArray

        public ByteArray​(Memory buffer,
                         long address,
                         long length)
    • Method Detail

      • get

        public byte get​(long index)
      • get

        public void get​(long index,
                        byte[] bytes,
                        int start,
                        int length)
      • get

        public void get​(long index,
                        ByteArray bytes,
                        long start,
                        long length)
      • get

        public void get​(long index,
                        ByteArray bytes)
      • get

        public void get​(long index,
                        byte[] bytes)
      • set

        public void set​(long index,
                        byte value)
      • set

        public void set​(long index,
                        byte[] bytes,
                        int start,
                        int length)
      • set

        public void set​(long index,
                        byte[] bytes)
      • set

        public void set​(long index,
                        ByteArray bytes,
                        long start,
                        long length)
      • set

        public void set​(long index,
                        ByteArray bytes)
      • length

        public long length()
      • slice

        public ByteArray slice​(long start,
                               long length)