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

Function MakeByteSpan

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

Source from the content-addressed store, hash-verified

262
263template <typename V>
264Span<const std::byte> MakeByteSpan(V&& v) noexcept
265{
266 return AsBytes(Span{std::forward<V>(v)});
267}
268template <typename V>
269Span<std::byte> MakeWritableByteSpan(V&& v) noexcept
270{

Callers 13

SerializeFunction · 0.85
Serialize_implFunction · 0.85
GetKeyMethod · 0.85
GetValueMethod · 0.85
ReadMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
DecodeRawPSBTFunction · 0.85
CaptureMessageToFileFunction · 0.85
DumpWalletFunction · 0.85
CreateFromDumpFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

AsBytesFunction · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68