BoolExtensions Class

Definition

Helpers for working with the Boolean type.

public static class BoolExtensions
type BoolExtensions = class
Public Module BoolExtensions
Inheritance
BoolExtensions

Methods

ToBitwiseMask32(Boolean)

Converts the given Boolean value to an Int32 mask with all bits representing the value of the input flag (either 0xFFFFFFFF or 0x00000000).

ToBitwiseMask64(Boolean)

Converts the given Boolean value to a Int64 mask with all bits representing the value of the input flag (either all 1s or 0s).

ToByte(Boolean)

Converts the given Boolean value into a Byte.

Applies to