serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, framerate, Endian.little);
data_.setUint32(4, bitrate, Endian.little);
data_.setUint16(8, flags, Endian.little);
data_.setUint16(10, resolutionH, Endian.little);
data_.setUint16(12, resolutionV, Endian.little);
data_.setUint16(14, rotation, Endian.little);
data_.setUint16(16, hfov, Endian.little);
data_.setUint8(18, streamId);
data_.setUint8(19, count);
data_.setUint8(20, type);
MavlinkMessage.setInt8List(data_, 21, name);
MavlinkMessage.setInt8List(data_, 53, uri);
return data_;
}