public DataBuffer(final byte[] buffer,final int offset,final int length){
  byteBuffer=ByteBuffer.wrap(buffer);
  byteBuffer.order(ByteOrder.LITTLE_ENDIAN);
  byteBuffer.position(offset);
}

public DataBuffer ( final byte [ ] buffer , final int offset , final int length ) { byteBuffer = ByteBuffer . wrap ( buffer ) ; byteBuffer . order ( ByteOrder . LITTLE_ENDIAN ) ; byteBuffer . position ( offset ) ; }
instantiates a new data buffer .
