RandomAccessFile.writeBytes

RandomAccessFile.writeBytes

Class Overview | Class Members | This Package | All Packages

Syntax
public final void writeBytes( String s ) throws IOException
Parameters
s
a string of bytes to be written.
Description
Writes the string to the file as a sequence of bytes. Each character in the string is written out, in sequence, by discarding its high eight bits.

Exceptions
IOException if an I/O error occurs.