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: 19.00.00
Syntax
C#
public static void WriteBit(
	byte[] buffer,
	int offset,
	int bitNo,
	bool val
)

Parameters

buffer  Byte
Buffer to write the data into.
offset  Int32
Offset into 'buffer' to start writing the data.
bitNo  Int32
The position of the bit in the byte.
val  Boolean
The value to write.
See Also