@ Override public void write ( String s , int off , int len ) throws IOException { char [ ] buffer = _tempCharBuffer ; int bufferLength = buffer . length ; while ( len > 0 ) { int sublen = Math . min ( len , bufferLength ) ; s . getChars ( off , off + sublen , buffer , 0 ) ; write ( buffer , 0 , sublen ) ; off += sublen ; len -= sublen ; } }
Writes a subsection of a string to the output .