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

Method WriteMdComment

lib/mdflib/mdflib/src/mdfblock.cpp:507–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507void MdfBlock::WriteMdComment(std::streambuf& buffer, size_t index_md) {
508 if (md_comment_ && Link(index_md) == 0) {
509 md_comment_->Write(buffer);
510 UpdateLink(buffer, index_md, md_comment_->FilePosition());
511 }
512}
513/*
514void MdfBlock::ReadMdComment(std::FILE *file, size_t index_md) {
515 if (!md_comment_ && Link(index_md) > 0) {

Callers

nothing calls this directly

Calls 2

WriteMethod · 0.45
FilePositionMethod · 0.45

Tested by

no test coverage detected