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

Method Write

lib/mdflib/mdflib/src/pr3block.cpp:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21uint64_t Pr3Block::Write(std::streambuf& buffer) {
22 block_type_ = "PR";
23 block_size_ = static_cast<uint16_t>((2 + 2) + text_.size());
24 link_list_.clear();
25
26 uint64_t bytes = MdfBlock::Write(buffer);
27 bytes += WriteStr(buffer, text_, text_.size());
28 return bytes;
29}
30
31} // namespace mdf::detail

Callers

nothing calls this directly

Calls 3

WriteStrFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected