Class DynamicByteBuffer


  • public class DynamicByteBuffer
    extends java.lang.Object
    • Constructor Detail

      • DynamicByteBuffer

        public DynamicByteBuffer()
      • DynamicByteBuffer

        public DynamicByteBuffer​(int size)
      • DynamicByteBuffer

        public DynamicByteBuffer​(java.nio.ByteBuffer bb)
      • DynamicByteBuffer

        public DynamicByteBuffer​(byte[] ba)
    • Method Detail

      • isDirect

        public boolean isDirect()
      • order

        public java.nio.ByteOrder order()
      • position

        public int position()
      • position

        public java.nio.Buffer position​(int newPosition)
      • remaining

        public int remaining()
      • reset

        public java.nio.Buffer reset()
      • rewind

        public java.nio.Buffer rewind()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • array

        public byte[] array()
      • get

        public byte get()
      • get

        public java.nio.ByteBuffer get​(byte[] dst)
      • 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)
      • getString

        public java.lang.String getString()
      • capacity

        public int capacity()
      • clear

        public java.nio.Buffer clear()
      • flip

        public java.nio.Buffer flip()
      • limit

        public int limit()
      • limit

        public java.nio.Buffer limit​(int newLimit)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public void mark()