PegByteParserIntoBits(Int32, Int32, PegByteParserBytesetData, Int32) Method |
Reads the specified bit range into an integer and tests it against a byte set.
Namespace: Altaxo.Main.PegParserAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
Booleantrue if the bits were read successfully; otherwise,
false.
See Also