RandomAccessFile.write
Class Overview | Class Members |
This Package |
All Packages
public native void write( int b ) throws IOException
Parameters
- b
- the byte to be written.
Description
Writes the specified byte to this file.
Exceptions
IOException
if an I/O error occurs.
public void write( byte b[] ) throws IOException
Parameters
- b
- the data.
Description
Writes b.length bytes from the specified byte array
starting at offset off to this file.
Exceptions
IOException
if an I/O error occurs.
public void write( byte b[],
int off,
int len ) throws IOException
Parameters
- b
- the data.
- off
- the start offset in the data.
- len
- the number of bytes to write.
Description
Writes len bytes from the specified byte array
starting at offset off to this file.
Exceptions
IOException
if an I/O error occurs.