| 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, |
no outgoing calls
no test coverage detected