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

Method Write

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

primitive types

Source from the content-addressed store, hash-verified

266{
267// primitive types
268void WriteTrait<bool>::Write(skr_json_writer_t* writer, bool b)
269{
270 writer->Bool(b);
271}
272void WriteTrait<int8_t>::Write(skr_json_writer_t* writer, int8_t i)
273{
274 writer->Int(i);

Callers

nothing calls this directly

Calls 15

StartArrayMethod · 0.80
get_serializedMethod · 0.80
formatFunction · 0.50
WriteFunction · 0.50
BoolMethod · 0.45
IntMethod · 0.45
Int64Method · 0.45
UIntMethod · 0.45
UInt64Method · 0.45
FloatMethod · 0.45
DoubleMethod · 0.45
EndArrayMethod · 0.45

Tested by

no test coverage detected