Language

EofSensorInputStream.Read Method

Definition

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

[Android.Runtime.Register("read", "()I", "GetReadHandler")]
public override int Read();
[<Android.Runtime.Register("read", "()I", "GetReadHandler")>]
override this.Read : unit -> int

Returns

The next byte as an integer from 0 through 255, or -1 if the end of the stream has been reached.

Attributes

Exceptions

Remarks

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