public void write(byte[] buffer, int offset, int length) {Arrays.checkOffsetAndCount(buffer.length, offset, length);synchronized (this) {if (out == null) {setError();return;}try {out.write(buffer, offset, length);if (autoFlush) {flush();}} catch (IOException e) {setError();}}}

public void write ( byte [ ] buffer , int offset , int length ) { Arrays . checkOffsetAndCount ( buffer . length , offset , length ) ; synchronized ( this ) { if ( out == null ) { setError ( ) ; return ; } try { out . write ( buffer , offset , length ) ; if ( autoFlush ) { flush ( ) ; } } catch ( IOException e ) { setError ( ) ; } } }
public override void write(byte[] buffer, int offset, int length){java.util.Arrays.checkOffsetAndCount(buffer.Length, offset, length);lock (this){if (@out == null){setError();return;}try{@out.write(buffer, offset, length);if (autoFlush){flush();}}catch (System.IO.IOException){setError();}}}
