public void write(byte[] b) throws java.io.IOException {
  write(b,0,b.length);
}

public void write ( byte [ ] b ) throws java . io . IOException { write ( b , 0 , b . length ) ; }
writes b . length bytes from the specified byte array to this output stream . the general contract for write ( b ) is that it should have exactly the same effect as the call write ( b , 0 , b . length ) .
