Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
83
template <typename V>
84
auto MakeByteSpan(const V& v) noexcept
85
{
86
return std::as_bytes(std::span{v});
87
}
88
template <typename V>
89
auto MakeWritableByteSpan(V&& v) noexcept
90
{
Callers
15
RNGState
Class · 0.85
RandomSeed
Method · 0.85
FastRandomContext
Method · 0.85
Reseed
Method · 0.85
Serialize
Function · 0.85
GetKeyImpl
Method · 0.85
GetValueImpl
Method · 0.85
DecodeBase64PSBT
Function · 0.85
V2Transport
Method · 0.85
ProcessReceivedKeyBytes
Method · 0.85
ProcessReceivedGarbageBytes
Method · 0.85
ProcessReceivedPacketBytes
Method · 0.85
Calls
no outgoing calls
Tested by
15
BOOST_AUTO_TEST_CASE
Function · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
V2TransportTester
Method · 0.68
ReceiveKey
Method · 0.68
SendPacket
Method · 0.68
ReceivePacket
Method · 0.68
ReceiveGarbage
Method · 0.68
ReceiveVersion
Method · 0.68
BOOST_AUTO_TEST_CASE
Function · 0.68
TestBIP324PacketVector
Method · 0.68
SimulationTest
Function · 0.68
FUZZ_TARGET
Function · 0.68