code: private void writeCharsToOut(char[] cbuf, int len) throws IOException {
  		if(len > 0) {
  			if(len == 1) {
  				out.write(cbuf[0]);
  			} else {
  				out.write(cbuf, 0, len);
  			}
  		}
  	}
docs: Writes characters, ignores calls with {@code len < 0}