OffsetDataWriterExtensionsWriteBit Method |
Writes a bit at offset in the buffer.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
Syntaxpublic static void WriteBit(
this IOffsetDataWriter writer,
int offset,
bool val,
int bitNo
)
Parameters
- writer
- Type: Demo3D.IOIOffsetDataWriter
The data writer. - offset
- Type: SystemInt32
The offset into the buffer to start writing. - val
- Type: SystemBoolean
The value to write. - bitNo
- Type: SystemInt32
The bit within the byte to write.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IOffsetDataWriter. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also