parseFromBytes

Parse scan record bytes to ScanRecord.

The format is defined in Bluetooth 4.1 specification, Volume 3, Part C, Section 11 and 18.

All numerical multi-byte entities and values shall use little-endian byte order.

Parameters

scanRecord

The scan record of Bluetooth LE advertisement and/or scan response.