MCPcopy Create free account
hub / github.com/CommE2E/comm / writeBufferToFile

Method writeBufferToFile

native/cpp/CommonCpp/_generated/utilsJSI.h:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 CommUtilsModuleSchemaCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {}
50
51 jsi::Value writeBufferToFile(jsi::Runtime &rt, jsi::String path, jsi::Object data) override {
52 static_assert(
53 bridging::getParameterCount(&T::writeBufferToFile) == 3,
54 "Expected writeBufferToFile(...) to have 3 parameters");
55
56 return bridging::callFromJs<jsi::Value>(
57 rt, &T::writeBufferToFile, jsInvoker_, instance_, std::move(path), std::move(data));
58 }
59 jsi::Value readBufferFromFile(jsi::Runtime &rt, jsi::String path) override {
60 static_assert(
61 bridging::getParameterCount(&T::readBufferFromFile) == 2,

Calls

no outgoing calls

Tested by

no test coverage detected