MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / writeString

Function writeString

test/host/socket/wasi_socket.cpp:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void writeString(WasmEdge::Runtime::Instance::MemoryInstance &MemInst,
106 std::string_view String, uint32_t Ptr) noexcept {
107 std::copy(String.begin(), String.end(), MemInst.getPointer<uint8_t *>(Ptr));
108}
109
110void writeAddrinfo(WasmEdge::Runtime::Instance::MemoryInstance &MemInst,
111 __wasi_addrinfo_t *WasiAddrinfo, uint32_t Ptr) {

Callers 1

TESTFunction · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected