MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / putWhitespace

Method putWhitespace

source/core/StarFormattedJson.cpp:564–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564void FormattedJsonBuilderStream::putWhitespace(String::Char const* s, size_t len) {
565 if (m_stack.size() > 0)
566 current().appendElement(WhitespaceElement{String(s, len)});
567}
568
569void FormattedJsonBuilderStream::putColon() {
570 current().appendElement(ColonElement{});

Callers 1

toJsonStreamMethod · 0.45

Calls 3

StringClass · 0.85
appendElementMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected