public synchronized void write(int oneByte) {if (out == null) {setError();return;}try {out.write(oneByte);int b = oneByte & 0xFF;boolean isNewline = b == 0x0A || b == 0x15;if (autoFlush && isNewline) {flush();}} catch (IOException e) {setError();}}

public synchronized void write ( int oneByte ) { if ( out == null ) { setError ( ) ; return ; } try { out . write ( oneByte ) ; int b = oneByte & 0xFF ; boolean isNewline = b == 0x0A || b == 0x15 ; if ( autoFlush && isNewline ) { flush ( ) ; } } catch ( IOException e ) { setError ( ) ; } }
public override void write(int oneByte){lock (this){if (@out == null){setError();return;}try{@out.write(oneByte);int b = oneByte & unchecked((int)(0xFF));bool isNewline = b == unchecked((int)(0x0A)) || b == unchecked((int)(0x15));if (autoFlush && isNewline){flush();}}catch (System.IO.IOException){setError();}}}
