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

Method Write

modules/engine/runtime/serde/binary/writer.cpp:170–173  ·  view source on GitHub ↗

primitive types

Source from the content-addressed store, hash-verified

168{
169// primitive types
170int WriteTrait<bool>::Write(skr_binary_writer_t* writer, bool value)
171{
172 return WriteTrait<uint32_t>::Write(writer, (uint32_t)value);
173}
174int WriteTrait<int8_t>::Write(skr_binary_writer_t* writer, int8_t value)
175{
176 return WriteBytes(writer, &value, sizeof(value));

Callers

nothing calls this directly

Calls 11

WriteBytesFunction · 0.85
WriteBitpackedFunction · 0.85
get_serializedMethod · 0.80
WriteFunction · 0.50
get_sizeMethod · 0.45
get_dataMethod · 0.45
sizeMethod · 0.45
u8_strMethod · 0.45
dataMethod · 0.45
rawMethod · 0.45
get_bufferMethod · 0.45

Tested by

no test coverage detected