@Override public final void writeChars(String s) throws IOException {
  int len=s.length();
  for (int i=0; i < len; i++) {
    writeChar(s.charAt(i));
  }
}

@ Override public final void writeChars ( String s ) throws IOException { int len = s . length ( ) ; for ( int i = 0 ; i < len ; i ++ ) { writeChar ( s . charAt ( i ) ) ; } }
write a string , not a char [ ] . like dataoutputstream . writechars , flip endianness of each char .
