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

Function writeString

test/host/wasi/wasi.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void writeString(WasmEdge::Runtime::Instance::MemoryInstance &MemInst,
34 std::string_view String, uint32_t Ptr) noexcept {
35 std::copy(String.begin(), String.end(), MemInst.getPointer<uint8_t *>(Ptr));
36}
37
38void writeAddress(WasmEdge::Runtime::Instance::MemoryInstance &MemInst,
39 WasmEdge::Span<const uint8_t> Address, uint32_t Ptr) {

Callers 15

writeUntilFullFunction · 0.70
TESTFunction · 0.70
optionsSetMethod · 0.50
optionsSetU64Method · 0.50
symmetricKeyGenerateMethod · 0.50
symmetricKeyImportMethod · 0.50
symmetricStateOpenMethod · 0.50
keypairGenerateMethod · 0.50

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected