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

Method optionsSetGuestBuffer

plugins/wasi_crypto/common/ctx.cpp:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59WasiCryptoExpect<void>
60Context::optionsSetGuestBuffer(__wasi_options_t OptionsHandle,
61 std::string_view Name,
62 Span<uint8_t> Buf) noexcept {
63 return OptionsManager.get(OptionsHandle)
64 .and_then([Name, Buf](auto &&Options) noexcept {
65 return Common::optionsSetGuestBuffer(Options, Name, Buf);
66 });
67}
68
69WasiCryptoExpect<__wasi_secrets_manager_t>
70Context::secretsManagerOpen(__wasi_opt_options_t) noexcept {

Callers 1

bodyMethod · 0.80

Calls 2

optionsSetGuestBufferFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected