serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, timeBootMs, Endian.little);
  data_.setUint32(4, generalMetadataFileCrc, Endian.little);
  data_.setUint32(8, peripheralsMetadataFileCrc, Endian.little);
  MavlinkMessage.setInt8List(data_, 12, generalMetadataUri);
  MavlinkMessage.setInt8List(data_, 112, peripheralsMetadataUri);
  return data_;
}