Click or drag to resize

PegByteParserIntoBits(Int32, Int32, PegByteParserBytesetData, Int32) Method

Reads the specified bit range into an integer and tests it against a byte set.

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

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  PegByteParserBytesetData
The byte set to match against.
val  Int32
Receives the extracted bit value.

Return Value

Boolean
true if the bits were read successfully; otherwise, false.
See Also