Click or drag to resize

PegByteParserPeekBits Method

Tests whether the specified bit range matches an exact value without consuming input.

Namespace: Altaxo.Main.PegParser
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public bool PeekBits(
	int lowBitNo,
	int highBitNo,
	byte toMatch
)

Parameters

lowBitNo  Int32
The one-based index of the lowest bit in the range.
highBitNo  Int32
The number of bits to include starting at lowBitNo.
toMatch  Byte
The exact bit value to match.

Return Value

Boolean
true if the bit range matches; otherwise, false.
See Also