| 324 | |
| 325 | |
| 326 | void 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 | |
| 337 | size_t XMLWriter::write(uint8_t c) |