MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MakeByteSpan

Function MakeByteSpan

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

Source from the content-addressed store, hash-verified

82
83template <typename V>
84auto MakeByteSpan(const V& v) noexcept
85{
86 return std::as_bytes(std::span{v});
87}
88template <typename V>
89auto MakeWritableByteSpan(V&& v) noexcept
90{

Callers 15

RNGStateClass · 0.85
RandomSeedMethod · 0.85
FastRandomContextMethod · 0.85
ReseedMethod · 0.85
SerializeFunction · 0.85
GetKeyImplMethod · 0.85
GetValueImplMethod · 0.85
DecodeBase64PSBTFunction · 0.85
V2TransportMethod · 0.85

Calls

no outgoing calls

Tested by 15

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
V2TransportTesterMethod · 0.68
ReceiveKeyMethod · 0.68
SendPacketMethod · 0.68
ReceivePacketMethod · 0.68
ReceiveGarbageMethod · 0.68
ReceiveVersionMethod · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
SimulationTestFunction · 0.68
FUZZ_TARGETFunction · 0.68