serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setInt32(0, intervalUs, Endian.little);
  data_.setUint16(4, messageId, Endian.little);
  return data_;
}