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

Method DataLength

src/GCodes/GCodeBuffer/GCodeBuffer.cpp:1383–1386  ·  view source on GitHub ↗

Return the length of the command. WARNING! This may return the wrong value if the command has an unquoted string parameter and GetUnprecedentedString or GetPossiblyQuotedString hasn't been called yet.

Source from the content-addressed store, hash-verified

1381// Return the length of the command.
1382// WARNING! This may return the wrong value if the command has an unquoted string parameter and GetUnprecedentedString or GetPossiblyQuotedString hasn't been called yet.
1383size_t GCodeBuffer::DataLength() const noexcept
1384{
1385 return PARSER_OPERATION(DataLength());
1386}
1387
1388void GCodeBuffer::PrintCommand(const StringRef& s) const noexcept
1389{

Callers 3

ShouldQueueG10Method · 0.45
THROWSFunction · 0.45
AssignFromMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected