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

Method ReadTx3

lib/mdflib/mdflib/src/mdfblock.cpp:540–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

538}
539
540std::string MdfBlock::ReadTx3(std::streambuf& buffer, size_t index_tx) const {
541 if (Link(index_tx) > 0) {
542 SetFilePosition(buffer, Link(index_tx));
543 Tx3Block tx;
544 tx.Init(*this);
545 tx.Read(buffer);
546 return tx.Text();
547 }
548 return {};
549}
550
551std::string MdfBlock::ReadTx4(std::streambuf& buffer, size_t index_tx) const {
552 if (Link(index_tx) > 0) {

Callers

nothing calls this directly

Calls 4

SetFilePositionFunction · 0.85
InitMethod · 0.45
ReadMethod · 0.45
TextMethod · 0.45

Tested by

no test coverage detected