< prev index next >
src/java.base/share/classes/java/io/DataOutput.java
Print this page
*** 70,80 ****
* written is <code>b[b.length-1]</code>.
*
* @param b the data.
* @throws IOException if an I/O error occurs.
*/
! void write(byte b[]) throws IOException;
/**
* Writes <code>len</code> bytes from array
* <code>b</code>, in order, to
* the output stream. If <code>b</code>
--- 70,80 ----
* written is <code>b[b.length-1]</code>.
*
* @param b the data.
* @throws IOException if an I/O error occurs.
*/
! void write(byte[] b) throws IOException;
/**
* Writes <code>len</code> bytes from array
* <code>b</code>, in order, to
* the output stream. If <code>b</code>
*** 92,102 ****
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
* @throws IOException if an I/O error occurs.
*/
! void write(byte b[], int off, int len) throws IOException;
/**
* Writes a <code>boolean</code> value to this output stream.
* If the argument <code>v</code>
* is <code>true</code>, the value <code>(byte)1</code>
--- 92,102 ----
* @param b the data.
* @param off the start offset in the data.
* @param len the number of bytes to write.
* @throws IOException if an I/O error occurs.
*/
! void write(byte[] b, int off, int len) throws IOException;
/**
* Writes a <code>boolean</code> value to this output stream.
* If the argument <code>v</code>
* is <code>true</code>, the value <code>(byte)1</code>
< prev index next >