Share via


ObjectInputStream.ReadUnsignedByte Method

Definition

Reads an unsigned 8 bit byte.

[Android.Runtime.Register("readUnsignedByte", "()I", "GetReadUnsignedByteHandler")]
public virtual int ReadUnsignedByte ();
[<Android.Runtime.Register("readUnsignedByte", "()I", "GetReadUnsignedByteHandler")>]
abstract member ReadUnsignedByte : unit -> int
override this.ReadUnsignedByte : unit -> int

Returns

the 8 bit byte read.

Implements

Attributes

Exceptions

if the end of the input is reached before the read request can be satisfied.

if an error occurs while reading from the source stream.

Remarks

Reads an unsigned 8 bit byte.

Java documentation for java.io.ObjectInputStream.readUnsignedByte().

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