Share via


DataInputStream.ReadBoolean Method

Definition

See the general contract of the readBoolean method of DataInput.

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

Returns

the boolean value read.

Implements

Attributes

Exceptions

Remarks

See the general contract of the readBoolean method of DataInput.

Bytes for this operation are read from the contained input stream.

Java documentation for java.io.DataInputStream.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