question: public final void writeBytes ( String str ) throws IOException { byte [ ] bytes = new byte [ str . length ( ) ] ; for ( int index = 0 ; index < str . length ( ) ; index ++ ) { bytes [ index ] = ( byte ) ( str . charAt ( index ) & 0xFF ) ; } write ( bytes ) ; }
target:  Writes the low order 8-bit bytes from a string to this file, starting at the current file pointer.