Click or drag to resize
UtilitySetBit Method (UInt32, Int32, Boolean)
Sets a bit in a 32-bit variable.

Namespace: StreamCoders.Container.MP4
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static void SetBit(
	ref uint val,
	int bitnum,
	bool variable
)

Parameters

val
Type: SystemUInt32
[in,out] The variable to use.
bitnum
Type: SystemInt32
The bit number to set.
variable
Type: SystemBoolean
Set to true for '1' or false for '0'.
See Also