Encodes a single bit into the data buffer.
Namespace: Demo3D.IOAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxpublic 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