MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Write

Method Write

lib/base/json.cpp:234–237  ·  view source on GitHub ↗

* Writes a string to the underlying output stream. * * This function writes the provided string view directly to the output stream without any additional formatting. * * @param sv The string view to write to the output stream. */

Source from the content-addressed store, hash-verified

232 * @param sv The string view to write to the output stream.
233 */
234void JsonEncoder::Write(const std::string_view& sv) const
235{
236 m_Writer->write_characters(sv.data(), sv.size());
237}
238
239/**
240 * Begins a JSON container (object or array) by writing the opening character and adjusting the

Callers

nothing calls this directly

Calls 2

write_charactersMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected