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

Method SampleSize

lib/mdflib/include/mdf/samplerecord.h:28–32  ·  view source on GitHub ↗

\brief Returns the size of a record buffer. */

Source from the content-addressed store, hash-verified

26
27 /** \brief Returns the size of a record buffer. */
28 [[nodiscard]] size_t SampleSize() const {
29 // Note that record ID size is missing
30 // Fixed record length + VLSD data + VLSD length
31 return record_buffer.size() + vlsd_buffer.size() + 4;
32 }
33
34 void Clear() {
35 timestamp = 0;

Callers 4

AddSampleMethod · 0.80
PushSampleMethod · 0.80
GetSampleMethod · 0.80
PopSampleMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected