BitWiseBitFlagsToArray Method |
Converts bit flag fragments of an unsigned integer to a bit array.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
SyntaxPublic Shared Function BitFlagsToArray (
intSource As UInteger,
bytLength As Byte
) As OnOff()
public static OnOff[] BitFlagsToArray(
uint intSource,
byte bytLength
)
Parameters
- intSource
- Type: SystemUInt32
Source bits to extract the flags from. - bytLength
- Type: SystemByte
Number of bits that represent the flags, read from right to left.
Return Value
Type:
OnOff
Remarks
See Also