Java.IO.InputStream.Read Method
Reads a single byte from this stream and returns it as an integer in the range from 0 to 255.

Syntax

[Android.Runtime.Register("read", "()I", "GetReadHandler")]
public abstract int Read ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif the stream is closed or another IOException occurs.

Remarks

Reads a single byte from this stream and returns it as an integer in the range from 0 to 255. Returns -1 if the end of the stream has been reached. Blocks until one byte has been read, the end of the source stream is detected or an exception is thrown.

[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