MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / Length

Method Length

src/Platform/OutputMemory.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55size_t OutputBuffer::Length() const noexcept
56{
57 size_t totalLength = 0;
58 for (const OutputBuffer *current = this; current != nullptr; current = current->Next())
59 {
60 totalLength += current->DataLength();
61 }
62 return totalLength;
63}
64
65char OutputBuffer::operator[](size_t index) const noexcept
66{

Callers 4

StartMethod · 0.45
RepRap.cppFile · 0.45
UpdateFirmwareMethod · 0.45
DataLengthMethod · 0.45

Calls 2

NextMethod · 0.45
DataLengthMethod · 0.45

Tested by

no test coverage detected