public void putBytes(byte[] bytes){
  ensureCapacity(bytes.length);
  System.arraycopy(bytes,0,this.byteBuffer,this.position,bytes.length);
  this.position+=bytes.length;
}

public void putBytes ( byte [ ] bytes ) { ensureCapacity ( bytes . length ) ; System . arraycopy ( bytes , 0 , this . byteBuffer , this . position , bytes . length ) ; this . position += bytes . length ; }
put an array of bytes in the buffer .
