FieldPacker.AddBoolean(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.