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

Method ReadData

lib/mdflib/mdflib/src/datablock.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63uint64_t DataBlock::ReadData(std::streambuf& buffer) {
64 if (data_position_ <= 0) {
65 return 0;
66 }
67 SetFilePosition(buffer,data_position_);
68 return ReadByte(buffer, data_,DataSize());
69}
70
71} // namespace mdf::detail

Callers

nothing calls this directly

Calls 2

SetFilePositionFunction · 0.85
ReadByteFunction · 0.85

Tested by

no test coverage detected