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

Method parseUtf8

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

* @brief Runs the configured template over a UTF-8 text frame without a QString round-trip. */

Source from the content-addressed store, hash-verified

229 * @brief Runs the configured template over a UTF-8 text frame without a QString round-trip.
230 */
231QList<QStringList> DataModel::CFrameParser::parseUtf8(const QByteArray& frame)
232{
233 Q_ASSERT(!frame.isEmpty());
234
235 if (!m_parser) [[unlikely]]
236 return {};
237
238 return m_parser->parseUtf8(frame);
239}
240
241/**
242 * @brief Forwards the allocation-free span fast path to the configured template.

Callers 2

decodeAndParseFrameMethod · 0.45
parseMultiFrameUtf8Method · 0.45

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected