Java.IO.PipedInputStream.Receive Method
Receives a byte and stores it in this stream's buffer.

Syntax

[Android.Runtime.Register("receive", "(I)V", "GetReceive_IHandler")]
protected virtual void Receive (int oneByte)

Parameters

oneByte
the byte to store in this pipe.

Exceptions

TypeReason
Java.IO.InterruptedIOExceptionif the buffer is full and the thread that has called this method is interrupted.
Java.IO.IOExceptionif this stream is closed or the thread that has last read from this stream is no longer alive.

Remarks

Receives a byte and stores it in this stream's buffer. This method is called by PipedOutputStream.Write(int). The least significant byte of the integer oneByte is stored at index in in the buffer.

This method blocks as long as buffer is full.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1