UtilityIsBitSet Method (Byte, 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)
Syntaxpublic static bool IsBitSet(
byte val,
int bitnum
)
Public Shared Function IsBitSet (
val As Byte,
bitnum As Integer
) As Boolean
public:
static bool IsBitSet(
unsigned char val,
int bitnum
)
static member IsBitSet :
val : byte *
bitnum : int -> bool
Parameters
- val
- Type: SystemByte
[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