Class DynamicByteBuffer


  • public class DynamicByteBuffer
    extends Object
    • Constructor Detail

      • DynamicByteBuffer

        public DynamicByteBuffer​(int initialCapacity,
                                 int expandFactor)
    • Method Detail

      • capacity

        public int capacity()
      • clear

        public void clear()
      • flip

        public void flip()
      • hasRemaining

        public boolean hasRemaining()
      • isReadOnly

        public boolean isReadOnly()
      • limit

        public int limit()
      • limit

        public void limit​(int newLimit)
      • mark

        public void mark()
      • position

        public int position()
      • position

        public void position​(int newPosition)
      • remaining

        public int remaining()
      • reset

        public void reset()
      • rewind

        public void rewind()
      • array

        public byte[] array()
      • arrayOffset

        public int arrayOffset()
      • compact

        public void compact()
      • get

        public byte get()
      • get

        public void get​(byte[] dst)
      • get

        public void get​(byte[] dst,
                        int offset,
                        int length)
      • get

        public byte get​(int index)
      • getChar

        public char getChar()
      • getChar

        public char getChar​(int index)
      • getDouble

        public double getDouble()
      • getDouble

        public double getDouble​(int index)
      • getFloat

        public float getFloat()
      • getFloat

        public float getFloat​(int index)
      • getInt

        public int getInt()
      • getInt

        public int getInt​(int index)
      • getLong

        public long getLong()
      • getLong

        public long getLong​(int index)
      • getShort

        public short getShort()
      • getShort

        public short getShort​(int index)
      • getCheckSum

        public int getCheckSum()
      • hasArray

        public boolean hasArray()
      • isDirect

        public boolean isDirect()
      • order

        public void order​(ByteOrder bo)
      • put

        public void put​(byte b)
      • put

        public void put​(byte[] src)
      • put

        public void put​(byte[] src,
                        int offset,
                        int length)
      • put

        public void put​(int index,
                        byte b)
      • putChar

        public void putChar​(char value)
      • putChar

        public void putChar​(int index,
                            char value)
      • putDouble

        public void putDouble​(double value)
      • putDouble

        public void putDouble​(int index,
                              double value)
      • putFloat

        public void putFloat​(float value)
      • putFloat

        public void putFloat​(int index,
                             float value)
      • putInt

        public void putInt​(int value)
      • putInt

        public void putInt​(int index,
                           int value)
      • putLong

        public void putLong​(int index,
                            long value)
      • putLong

        public void putLong​(long value)
      • putShort

        public void putShort​(int index,
                             short value)
      • putShort

        public void putShort​(short value)
      • putCheckSum

        public void putCheckSum​(int checkSum)
      • slice

        public void slice()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getByteBuffer

        public ByteBuffer getByteBuffer()
      • setExpandFactor

        public void setExpandFactor​(int expandFactor)
      • getExpandFactor

        public int getExpandFactor()