public void write(int oneChar) {synchronized (lock) {expand(1);buf[count++] = (char) oneChar;}}

public void write ( int oneChar ) { synchronized ( lock ) { expand ( 1 ) ; buf [ count ++ ] = ( char ) oneChar ; } }
public override void write(int oneChar){lock (@lock){expand(1);buf[count++] = (char)oneChar;}}
