Writes to the output stream all the bytes in array <code>b</code>.
If <code>b</code> is <code>null</code>,
a <code>NullPointerException</code> is thrown.
If <code>b.length</code> is zero, then
no bytes are written. Otherwise, the byte
<code>b[0]</code> is written first, then
<code>b[1]</code>, and so on; the last byte
written is <code>b[b.length-1]</code>.
@param b the data.
@throws IOException if an I/O error occurs.
Writes to the output stream all the bytes in array <code>b</code>. If <code>b</code> is <code>null</code>, a <code>NullPointerException</code> is thrown. If <code>b.length</code> is zero, then no bytes are written. Otherwise, the byte <code>b[0]</code> is written first, then <code>b[1]</code>, and so on; the last byte written is <code>b[b.length-1]</code>.
@param b the data. @throws IOException if an I/O error occurs.