MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / Str

Method Str

modules/engine/runtime/serde/json/writer.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 _levelStack.reserve(levelDepth);
12}
13skr::String skr_json_writer_t::Str() const
14{
15 SKR_ASSERT(_levelStack.size() == 0);
16 return skr::String(skr::StringView(buffer.u8_str(), buffer.size()));
17}
18bool skr_json_writer_t::Bool(bool b)
19{
20 _Prefix(SKR_JSONTYPE_BOOL);

Callers 4

load_schemeMethod · 0.80
main_module_execMethod · 0.80
load_schemeMethod · 0.80
json.cppFile · 0.80

Calls 3

StringClass · 0.50
sizeMethod · 0.45
u8_strMethod · 0.45

Tested by 1

load_schemeMethod · 0.64