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

Method write

src/hash.h:114–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 int GetVersion() const { return nVersion; }
113
114 void write(Span<const std::byte> src)
115 {
116 ctx.Write(UCharCast(src.data()), src.size());
117 }
118
119 /** Compute the double-SHA256 hash of all data written to this object.
120 *

Callers 15

filter-lcov.pyFile · 0.45
writeBlockMethod · 0.45
mainFunction · 0.45
tree_sha512sumFunction · 0.45
process_nodesFunction · 0.45
mainFunction · 0.45
lookup_asnFunction · 0.45
test_ELFMethod · 0.45
test_MACHOMethod · 0.45
test_PEMethod · 0.45
mainFunction · 0.45

Calls 4

UCharCastFunction · 0.85
WriteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by 11

test_ELFMethod · 0.36
test_MACHOMethod · 0.36
test_PEMethod · 0.36
write_testcodeFunction · 0.36
run_testsFunction · 0.36
test_empty_asmapMethod · 0.36
test_valid_signerMethod · 0.36
run_testsFunction · 0.36
add_nodesMethod · 0.36