Click or drag to resize

BigEndianWriteBit Method

Encodes a single bit into the data buffer.

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static void WriteBit(
	byte[] buffer,
	int offset,
	int bitNo,
	bool val
)

Parameters

buffer
Type: SystemByte
Buffer to write the data into.
offset
Type: SystemInt32
Offset into 'buffer' to start writing the data.
bitNo
Type: SystemInt32
The position of the bit in the byte.
val
Type: SystemBoolean
The value to write.
See Also