UtilityIsBitSet Method (UInt32, Int32) |
Checks whether a certain bit is set.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static bool IsBitSet(
uint val,
int bitnum
)
Public Shared Function IsBitSet (
val As UInteger,
bitnum As Integer
) As Boolean
public:
static bool IsBitSet(
unsigned int val,
int bitnum
)
static member IsBitSet :
val : uint32 *
bitnum : int -> bool
Parameters
- val
- Type: SystemUInt32
[in,out] The variable to use.
- bitnum
- Type: SystemInt32
The bit number to check.
Return Value
Type:
Boolean
true if bit set, false if not.
See Also