Click or drag to resize
UtilitySetBit Method (Byte, Int32, Boolean)
Sets a bit in a 8-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 byte val,
	int bitnum,
	bool variable
)

Parameters

val
Type: SystemByte
[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