question: public final void XprintLatin1NoLf ( String string ) throws IOException { if ( _source == null ) { return ; } if ( string == null ) { string = "null" ; } byte [ ] writeBuffer = _writeBuffer ; int writeLength = _writeLength ; int length = string . length ( ) ; int offset = 0 ; int charsLength = CHARS_LENGTH ; char [ ] chars = _chars ; while ( length > 0 ) { int sublen = Math . min ( charsLength , writeBuffer . length - writeLength ) ; if ( sublen <= 0 ) { _source . write ( writeBuffer , 0 , writeLength , false ) ; _position += writeLength ; _isFlushRequired = true ; writeLength = 0 ; sublen = Math . min ( charsLength , writeBuffer . length - writeLength ) ; } sublen = Math . min ( length , sublen ) ; string . getChars ( offset , sublen , chars , 0 ) ; for ( int i = 0 ; i < sublen ; i ++ ) { byte value = ( byte ) chars [ i ] ; if ( value == '\r' || value == '\n' ) { length = 0 ; break ; } writeBuffer [ writeLength ++ ] = value ; } offset += sublen ; length -= sublen ; } _writeLength = writeLength ; }
target:  Prints the character buffer to the stream encoded as latin1.