C# Class Glovebox.IoT.Devices.Sensors.BitTwiddlingExtensions

Show file Open project: gloveboxes/Windows-IoT-Core-Driver-Library

Public Methods

Method Description
ClearBit ( this target, byte mask ) : byte
IsSet ( this target, byte mask ) : bool
SetBit ( this target, byte mask ) : byte

Method Details

ClearBit() public static method

public static ClearBit ( this target, byte mask ) : byte
target this
mask byte
return byte

IsSet() public static method

public static IsSet ( this target, byte mask ) : bool
target this
mask byte
return bool

SetBit() public static method

public static SetBit ( this target, byte mask ) : byte
target this
mask byte
return byte