Class DynamicByteBuffers

java.lang.Object
de.mid.innovator.util.DynamicByteBuffers

public class DynamicByteBuffers extends Object
  • Field Details

  • Constructor Details

    • DynamicByteBuffers

      public DynamicByteBuffers()
    • DynamicByteBuffers

      public DynamicByteBuffers(int size)
    • DynamicByteBuffers

      public DynamicByteBuffers(ByteBuffer bb)
    • DynamicByteBuffers

      public DynamicByteBuffers(byte[] ba)
    • DynamicByteBuffers

      public DynamicByteBuffers(List<byte[]> baList)
  • Method Details

    • getFirstBuffer

      public DynamicByteBuffer getFirstBuffer()
    • position

      public long position()
    • position

      public Buffer position(long newPosition)
    • toArrayList

      public List<byte[]> toArrayList()
    • put

      public DynamicByteBuffers put(byte b)
    • put

      public DynamicByteBuffers put(byte[] src)
    • putChar

      public DynamicByteBuffers putChar(char value)
    • putInt

      public DynamicByteBuffers putInt(int value)
    • putInt

      public DynamicByteBuffers putInt(int value, int index)
    • putLong

      public DynamicByteBuffers putLong(long value)
    • putLong

      public DynamicByteBuffers putLong(long value, long index)
    • putShort

      public DynamicByteBuffers putShort(short value)
    • putShort

      public DynamicByteBuffers putShort(short value, int index)
    • remaining

      public int remaining()
    • reset

      public Buffer reset()
    • rewind

      public Buffer rewind()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • get

      public byte get()
    • get

      public void get(byte[] dst)
    • get

      public byte get(int index)
    • getChar

      public char getChar()
    • getChar

      public char getChar(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)
    • putString

      public DynamicByteBuffers putString(String value)
    • getString

      public String getString()
    • capacity

      public int capacity()
    • clear

      public void clear()
    • flip

      public void flip()
    • limit

      public long limit()
    • limit

      public void limit(long limit)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public void mark()
    • announceCapacity

      public void announceCapacity(long amount)