ReportScan Method HIDSharp
Reads a HID report, calling back a provided function for each segment.

Namespace: HidSharp.ReportDescriptors.Parser
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0-alpha
Syntax

public void Scan(
	byte[] buffer,
	int offset,
	ReportScanCallback callback
)

Parameters

buffer
Type: SystemByte
The buffer containing the report.
offset
Type: SystemInt32
The offset to begin reading the report at.
callback
Type: HidSharp.ReportDescriptors.ParserReportScanCallback
This callback will be called for each report segment. Use this to read every value you need.
See Also

Reference