readFully Method (ISRandomAccessIO)
In This Topic
Reads 'len' bytes of data from this file into an array of bytes. This method reads repeatedly from the stream until all the bytes are read. This method blocks until all the bytes are read, the end of the stream is detected, or an exception is thrown.
Syntax
'Declaration
Public Overridable Sub readFully( _
ByVal () As Byte, _
ByVal As Integer, _
ByVal As Integer _
)
public virtual void readFully(
byte[] ,
int ,
int
)
Parameters
- b
- The buffer into which the data is to be read. It must be long enough.
- off
- The index in 'b' where to place the first byte read.
- n
Exceptions
Exception | Description |
EOFException | If the end-of file was reached before getting
all the necessary data.
|
IOException | If an I/O error ocurred.
|
See Also