public void write(int code) throws IOException {
  if (_byteBuffer == null)   throw new IOException("Writer closed");
  if ((code & 0xffffff80) == 0) {
    _byteBuffer.put((byte)code);
  }
 else {
    write2(code);
  }
}

public void write ( int code ) throws IOException { if ( _byteBuffer == null ) throw new IOException ( "Writer closed" ) ; if ( ( code & 0xffffff80 ) == 0 ) { _byteBuffer . put ( ( byte ) code ) ; } else { write2 ( code ) ; } }
writes a character given its 31 - bits unicode .
