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

Function stateOptionsGet

plugins/wasi_crypto/symmetric/state.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85WasiCryptoExpect<size_t> stateOptionsGet(const StateVariant &StateVariant,
86 std::string_view Name,
87 Span<uint8_t> Value) noexcept {
88 return std::visit(
89 [=](const auto &State) noexcept { return State.optionsGet(Name, Value); },
90 StateVariant);
91}
92
93WasiCryptoExpect<uint64_t> stateOptionsGetU64(const StateVariant &StateVariant,
94 std::string_view Name) noexcept {

Callers 1

Calls 1

optionsGetMethod · 0.45

Tested by

no test coverage detected