public void write(int c) throws IOException {
	if (writer != null) {
	    writer.write(c);
	} else {
	    ensureOpen();
	    if (nextChar >= bufferSize) {
		reAllocBuff (1);
	    }
	    cb[nextChar++] = (char) c;
	}
    }
public void write(int c) throws IOException {
	if (writer != null) {
	    writer.write(c);
	} else {
	    ensureOpen();
	    if (nextChar >= bufferSize) {
		reAllocBuff (1);
	    }
	    cb[nextChar++] = (char) c;
	}
    }
public void write ( int c ) throws IOException { if ( writer != null ) { writer . write ( c ) ; } else { ensureOpen ( ) ; if ( nextChar >= bufferSize ) { reAllocBuff ( 1 ) ; } cb [ nextChar ++ ] = ( char ) c ; } }
Write a single character.
Write a single character .