XieYiwen

Results 2 issues of XieYiwen

使用的虚拟机:ontology_wasm 合约使用c语言编写,fiddle编译,wat2wasm编译wasm文件 ```c char* hello(char* name) { return strconcat("hello ",name); } char* invoke(char* method,char* args) { if (strcmp(method, "hello")==0){ char* name = ReadStringParam(args); char* res = hello(name); //char* result =...

help wanted

如果\00在字节数组的中间,则字节数组后面部分会被抛弃掉。我存储了一个值在数据库中,这个值中间有\00,当取出来的时候,值丢失了一部分