Compartilhar via


PipedOutputStream.Write(Int32) Method

Definition

Writes the specified byte to the piped output stream.

[Android.Runtime.Register("write", "(I)V", "GetWrite_IHandler")]
public override void Write (int b);
[<Android.Runtime.Register("write", "(I)V", "GetWrite_IHandler")>]
override this.Write : int -> unit

Parameters

b
Int32

the byte to be written.

Attributes

Exceptions

if the pipe is full and the current thread is interrupted waiting for space to write data. This case is not currently handled correctly.

if this stream is not connected, if the target stream is closed or if the thread reading from the target stream is no longer alive. This case is currently not handled correctly.

Remarks

Writes the specified byte to the piped output stream.

Implements the write method of OutputStream.

Java documentation for java.io.PipedOutputStream.write(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to