DataReaderExtensionsReadBit Method |
Reads a bit from the current position in the buffer.
The current position is advanced by 1 byte.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.03.00
Syntaxpublic static bool ReadBit(
this IDataReader reader,
int bitNo
)
Parameters
- reader
- Type: Demo3D.IOIDataReader
The data reader. - bitNo
- Type: SystemInt32
The bit within the byte to return.
Return Value
Type:
BooleanThe value read.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDataReader. 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