Freigeben über


ObjectInputStream.ReadByte Method

Definition

Reads an 8 bit byte.

[Android.Runtime.Register("readByte", "()B", "GetReadByteHandler")]
public virtual sbyte ReadByte ();
[<Android.Runtime.Register("readByte", "()B", "GetReadByteHandler")>]
abstract member ReadByte : unit -> sbyte
override this.ReadByte : unit -> sbyte

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 8 bit byte.

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

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