GroupEnd.parse constructor
GroupEnd.parse(
- ByteData data_
Implementation
factory GroupEnd.parse(ByteData data_) {
if (data_.lengthInBytes < GroupEnd.mavlinkEncodedLength) {
var len = GroupEnd.mavlinkEncodedLength - data_.lengthInBytes;
var d = data_.buffer.asUint8List() + List<int>.filled(len, 0);
data_ = Uint8List.fromList(d).buffer.asByteData();
}
var timeUsec = data_.getUint64(0, Endian.little);
var groupId = data_.getUint32(8, Endian.little);
var missionChecksum = data_.getUint32(12, Endian.little);
return GroupEnd(
timeUsec: timeUsec, groupId: groupId, missionChecksum: missionChecksum);
}