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

Method ReadTx4

lib/mdflib/mdflib/src/mdfblock.cpp:551–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551std::string MdfBlock::ReadTx4(std::streambuf& buffer, size_t index_tx) const {
552 if (Link(index_tx) > 0) {
553 SetFilePosition(buffer, Link(index_tx));
554 Tx4Block tx;
555 tx.Init(*this);
556 tx.Read(buffer);
557 return tx.Text();
558 }
559 return {};
560}
561
562const Md4Block *MdfBlock::Md4() const {
563 return !md_comment_ ? nullptr

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