private static void writeAscii ( OutputAccessor out , CharSequence seq ) { // We can use the _set methods as these not need to do any index checks and reference checks. // This is possible as we called ensureWritable(...) before. for ( int i = 0 ; i < seq . length ( ) ; i ++ ) { out . write ( ( byte ) seq . charAt ( i ) ) ; } }
Fast - Path ASCII implementation .