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

Function jsiStringToRustString

native/cpp/CommonCpp/NativeModules/JSIRust.cpp:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include <string>
3
4rust::String jsiStringToRustString(
5 const facebook::jsi::String &jsi_string,
6 facebook::jsi::Runtime &runtime) {
7 std::string std_string = jsi_string.utf8(runtime);
8 return rust::String(std_string);
9}
10
11rust::Vec<rust::String> jsiStringArrayToRustVec(
12 const facebook::jsi::Array &jsi_array,

Callers 15

registerPasswordUserMethod · 0.85
logInPasswordUserMethod · 0.85
registerWalletUserMethod · 0.85
logInWalletUserMethod · 0.85
updatePasswordMethod · 0.85
deletePasswordUserMethod · 0.85
deleteWalletUserMethod · 0.85
logOutMethod · 0.85
logOutPrimaryDeviceMethod · 0.85
logOutSecondaryDeviceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected