serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, timeUtc, Endian.little);
  data_.setUint32(4, size, Endian.little);
  data_.setUint16(8, id, Endian.little);
  data_.setUint16(10, numLogs, Endian.little);
  data_.setUint16(12, lastLogNum, Endian.little);
  return data_;
}