ObjectInputStream.ReadBoolean Method

Definition

Reads in a boolean.

[Android.Runtime.Register("readBoolean", "()Z", "GetReadBooleanHandler")]
public virtual bool ReadBoolean ();
[<Android.Runtime.Register("readBoolean", "()Z", "GetReadBooleanHandler")>]
abstract member ReadBoolean : unit -> bool
override this.ReadBoolean : unit -> bool

Returns

the boolean 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 in a boolean.

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

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