MCPcopy
hub / github.com/Pradumnasaraf/DevOps / getStr

Function getStr

docs/webassembly/files/apps/hello-world/hello.js:1071–1074  ·  view source on GitHub ↗
(ptr)

Source from the content-addressed store, hash-verified

1069 var SYSCALLS = {
1070 varargs:undefined,
1071 getStr(ptr) {
1072 var ret = UTF8ToString(ptr);
1073 return ret;
1074 },
1075 };
1076 var _fd_write = (fd, iov, iovcnt, pnum) => {
1077 // hack to support printf in SYSCALLS_REQUIRE_FILESYSTEM=0

Callers

nothing calls this directly

Calls 1

UTF8ToStringFunction · 0.85

Tested by

no test coverage detected