PegByteParserPeekBit Method |
Tests whether the specified single bit matches an exact value without consuming input.
Namespace: Altaxo.Main.PegParserAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic bool PeekBit(
int bitNo,
byte toMatch
)
Parameters
- bitNo Int32
- The one-based bit index.
- toMatch Byte
- The exact bit value to match.
Return Value
Booleantrue if the bit matches; otherwise,
false.
See Also