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

Method write

src/serialize.h:1121–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119 SizeComputer() = default;
1120
1121 void write(std::span<const std::byte> src)
1122 {
1123 m_size += src.size();
1124 }
1125
1126 /** Pretend this many bytes are written, without specifying them. */
1127 void seek(uint64_t num)

Callers 8

ser_writedata8Function · 0.45
ser_writedata16Function · 0.45
ser_writedata32Function · 0.45
ser_writedata32beFunction · 0.45
ser_writedata64Function · 0.45
SerializeFunction · 0.45
SerMethod · 0.45
writeMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected