Click or drag to resize

PegByteParserBits(Int32, Int32, Byte) Method

Matches the specified bit range against an exact value.

Namespace: Altaxo.Main.PegParser
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public bool Bits(
	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