UtilityIsMaskPresent Method |
Checks if a value contains a certain bit-mask.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static bool IsMaskPresent(
uint val,
int mask
)
Public Shared Function IsMaskPresent (
val As UInteger,
mask As Integer
) As Boolean
public:
static bool IsMaskPresent(
unsigned int val,
int mask
)
static member IsMaskPresent :
val : uint32 *
mask : int -> bool
Parameters
- val
- Type: SystemUInt32
[in,out] The variable to use.
- mask
- Type: SystemInt32
The bit-mask.
Return Value
Type:
Boolean
true if mask present, false if not.
See Also