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

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