You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not only a manticore fresher but also a wasm fresher.
my wasm function require a string parameter, in fact string parameter become two parameters, the first is addr and the second is length of string, according to wasm/wat.
my source code and wat code like bellow code demonstrated. void testString(std::string) -> fun $testString (type 6)(I32 I32)
I use ManticoreWASM to load wasm, invoke testString function with argument_generate function.
is there anyone know how to pass a string parameter or arraybuffer to ManticoreWASM.
thanks indeed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am not only a manticore fresher but also a wasm fresher.
my wasm function require a string parameter, in fact string parameter become two parameters, the first is addr and the second is length of string, according to wasm/wat.
my source code and wat code like bellow code demonstrated.
void testString(std::string) -> fun $testString (type 6)(I32 I32)
I use ManticoreWASM to load wasm, invoke testString function with argument_generate function.
is there anyone know how to pass a string parameter or arraybuffer to ManticoreWASM.
thanks indeed.
Beta Was this translation helpful? Give feedback.
All reactions