public void write(int b){
  int newcount=count + 1;
  if (newcount > buf.length) {
    buf=Utils.copyOf(buf,Math.max(buf.length << 1,newcount));
  }
  buf[count]=(byte)b;
  count=newcount;
}

public void write ( int b ) { int newcount = count + 1 ; if ( newcount > buf . length ) { buf = Utils . copyOf ( buf , Math . max ( buf . length << 1 , newcount ) ) ; } buf [ count ] = ( byte ) b ; count = newcount ; }
writes the specified byte to this byte array output stream .
