Writes the entire contents of the byte array buffer to this stream. @param buffer the buffer to be written to the file. @throws IOException if this stream is closed or an error occurs attempting to write to this stream.
(byte[] buffer)
| 240 | * write to this stream. |
| 241 | */ |
| 242 | @Override |
| 243 | public void write(byte[] buffer) throws IOException { |
| 244 | write(buffer, 0, buffer.length); |
| 245 | } |
| 246 | |
| 247 | /** |
| 248 | * Writes {@code count} bytes from the byte array {@code buffer} starting at |