len bytes from the stream, and stores them into b starting at index off. If the end of the stream is reached, an java.io.EOFException will be thrown. The bit offset within the stream is reset to zero before the read occurs.
@param b an array of bytes to be written to.
@param off the starting position within b to write to.
@param len the maximum number of bytes to read.
@exception IndexOutOfBoundsException if off isnegative, len is negative, or off + len is greater than b.length.
@exception NullPointerException if b isnull.
@exception java.io.EOFException if the stream reaches the end beforereading all the bytes.
@exception IOException if an I/O error occurs.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |