MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / WriteValue

Method WriteValue

Source/Engine/Scripting/Runtime/DotNet.cpp:571–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571void MCore::GC::WriteValue(void* dst, void* src, int32 count, const MClass* klass)
572{
573 const int32 size = klass->GetInstanceSize();
574 memcpy(dst, src, count * size);
575}
576
577void MCore::GC::WriteArrayRef(MArray* dst, MObject* ref, int32 index)
578{

Callers

nothing calls this directly

Calls 2

memcpyFunction · 0.85
GetInstanceSizeMethod · 0.45

Tested by

no test coverage detected