DataOutputStream.WriteBoolean(Boolean) Method

Definition

Writes a <code>boolean</code> to the underlying output stream as a 1-byte value.

[Android.Runtime.Register("writeBoolean", "(Z)V", "")]
public void WriteBoolean (bool v);
[<Android.Runtime.Register("writeBoolean", "(Z)V", "")>]
abstract member WriteBoolean : bool -> unit
override this.WriteBoolean : bool -> unit

Parameters

v
Boolean

a <code>boolean</code> value to be written.

Implements

Attributes

Exceptions

if an error occurs while writing to the target stream.

Remarks

Java documentation for java.io.DataOutputStream.writeBoolean(boolean).

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