question: @ Override public final void writeChars ( String s ) throws IOException { int len = s . length ( ) ; for ( int i = 0 ; i < len ; i ++ ) { writeChar ( s . charAt ( i ) ) ; } }
target:  Write a string, not a char[]. Like DataOutputStream.writeChars, flip endianness of each char.