Language

FieldPacker.AddBoolean(Boolean) Method

Definition

Packs a Boolean as one byte and advances the position.

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

Parameters

v
Boolean

The Boolean value to pack as one for true or zero for false.

Attributes

Remarks

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