MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / writeData

Method writeData

app/src/IO/ConnectionManager.cpp:584–590  ·  view source on GitHub ↗

* @brief Writes @p data to device 0. */

Source from the content-addressed store, hash-verified

582 * @brief Writes @p data to device 0.
583 */
584qint64 IO::ConnectionManager::writeData(const QByteArray& data)
585{
586 Q_ASSERT(!data.isEmpty());
587 Q_ASSERT(m_devices.find(0) != m_devices.end());
588
589 return writeDataToDevice(0, data);
590}
591
592/**
593 * @brief Writes @p data to the specified @p deviceId.

Callers 5

sendLineMethod · 0.45
sendRawBlockMethod · 0.45
sendMethod · 0.45
keyPressEventMethod · 0.45

Calls 2

isEmptyMethod · 0.80
findMethod · 0.80

Tested by

no test coverage detected