MCPcopy Create free account
hub / github.com/ElementsProject/elements / MakeUCharSpan

Function MakeUCharSpan

src/span.h:285–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284/** Like the Span constructor, but for (const) unsigned char member types only. Only works for (un)signed char containers. */
285template <typename V> constexpr auto MakeUCharSpan(V&& v) -> decltype(UCharSpanCast(Span{std::forward<V>(v)})) { return UCharSpanCast(Span{std::forward<V>(v)}); }
286
287#endif // BITCOIN_SPAN_H

Callers 15

HashFunction · 0.85
Hash160Function · 0.85
ProcessMessagesMethod · 0.85
VerifyPubKeyMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85
ConsumeScalarRPCArgumentFunction · 0.85
TestGUIFunction · 0.85

Calls 1

UCharSpanCastFunction · 0.85

Tested by 8

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
BOOST_FIXTURE_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGET_INITFunction · 0.68
ConsumeScalarRPCArgumentFunction · 0.68
TestGUIFunction · 0.68