Compartir a través de


PipedInputStream.Receive(Int32) Method

Definition

Receives a byte of data.

[Android.Runtime.Register("receive", "(I)V", "GetReceive_IHandler")]
protected virtual void Receive (int b);
[<Android.Runtime.Register("receive", "(I)V", "GetReceive_IHandler")>]
abstract member Receive : int -> unit
override this.Receive : int -> unit

Parameters

b
Int32

the byte being received

Attributes

Exceptions

if the buffer is full and the thread that has called this method is interrupted.

if this stream is closed or the thread that has last read from this stream is no longer alive.

Remarks

Receives a byte of data. This method will block if no input is available.

Added in 1.1.

Java documentation for java.io.PipedInputStream.receive(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