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

Method parseBinary

app/src/DataModel/Scripting/CFrameParser.cpp:260–268  ·  view source on GitHub ↗

* @brief Runs the configured template over a binary frame. */

Source from the content-addressed store, hash-verified

258 * @brief Runs the configured template over a binary frame.
259 */
260QList<QStringList> DataModel::CFrameParser::parseBinary(const QByteArray& frame)
261{
262 Q_ASSERT(!frame.isEmpty());
263
264 if (!m_parser) [[unlikely]]
265 return {};
266
267 return m_parser->parseBinary(frame);
268}
269
270/**
271 * @brief Returns true once a template has been configured successfully.

Callers 2

decodeAndParseFrameMethod · 0.45
parseMultiFrameMethod · 0.45

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected