/** * Writes the specified byte array to this buffered output stream. * * @param b the bytes to be written * @throws IOException if an I/O error occurs */ @Override public synchronized void write(byte b[]) throws IOException { write(b, 0, b.length); }