MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / indent

Method indent

libraries/XMLWriter/XMLWriter.cpp:326–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325
326void XMLWriter::indent()
327{
328 if (_config & XMLWRITER_INDENT)
329 {
330 // as indentation is a multiple of 2
331 // this is nice balance between speed and RAM.
332 for (uint8_t i = _indent; i > 0; i-= 2) print(" ");
333 }
334}
335
336
337size_t XMLWriter::write(uint8_t c)

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64