public void put(byte[] source,int index,int length){
  if (mBuffer.capacity() < (mLength + length)) {
    expandBuffer(mLength + length + ADDITIONAL_BUFFER_SIZE);
  }
  mBuffer.put(source,index,length);
  mLength+=length;
}

public void put ( byte [ ] source , int index , int length ) { if ( mBuffer . capacity ( ) < ( mLength + length ) ) { expandBuffer ( mLength + length + ADDITIONAL_BUFFER_SIZE ) ; } mBuffer . put ( source , index , length ) ; mLength += length ; }
add data at the current position .
