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

Method readBufferFromFile

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

Source from the content-addressed store, hash-verified

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,
62 "Expected readBufferFromFile(...) to have 2 parameters");
63
64 return bridging::callFromJs<jsi::Value>(
65 rt, &T::readBufferFromFile, jsInvoker_, instance_, std::move(path));
66 }
67 jsi::String base64EncodeBuffer(jsi::Runtime &rt, jsi::Object data) override {
68 static_assert(
69 bridging::getParameterCount(&T::base64EncodeBuffer) == 2,

Calls

no outgoing calls

Tested by

no test coverage detected