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

Function genStrView

lib/api/wasmedge.cpp:276–278  ·  view source on GitHub ↗

Helper functions for converting WasmEdge_String to std::String.

Source from the content-addressed store, hash-verified

274
275// Helper functions for converting WasmEdge_String to std::String.
276inline std::string_view genStrView(const WasmEdge_String S) noexcept {
277 return std::string_view(S.Buf, S.Length);
278}
279
280// Helper functions for converting a ValVariant vector to a WasmEdge_Value
281// array.

Calls

no outgoing calls

Tested by

no test coverage detected