Megosztás a következőn keresztül:


IDataInput.ReadBoolean Method

Definition

Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.

[Android.Runtime.Register("readBoolean", "()Z", "GetReadBooleanHandler:Java.IO.IDataInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool ReadBoolean ();
[<Android.Runtime.Register("readBoolean", "()Z", "GetReadBooleanHandler:Java.IO.IDataInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReadBoolean : unit -> bool

Returns

the boolean value read.

Attributes

Exceptions

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

if an I/O error occurs while reading.

Remarks

Reads one input byte and returns true if that byte is nonzero, false if that byte is zero. This method is suitable for reading the byte written by the writeBoolean method of interface DataOutput.

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

See also