MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / _readFile

Method _readFile

Source/Node/Spine.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 virtual ~SpineExtension() { }
38
39 virtual char* _readFile(const spine::String& path, int* length) {
40 int64_t size = 0;
41 auto data = SharedContent.loadInMainUnsafe({path.buffer(), path.length()}, size);
42 *length = s_cast<int>(size);
43 return r_cast<char*>(data);
44 }
45};
46
47Spine::SpineListener::SpineListener(Spine* owner)

Callers

nothing calls this directly

Calls 3

loadInMainUnsafeMethod · 0.80
bufferMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected