MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SerializeToVector

Function SerializeToVector

src/script/sign.h:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136// The resulting output into the stream has the total serialized length of all of the objects followed by all objects concatenated with each other.
137template<typename Stream, typename... X>
138void SerializeToVector(Stream& s, const X&... args)
139{
140 WriteCompactSize(s, GetSerializeSizeMany(s, args...));
141 SerializeMany(s, args...);
142}
143
144// Takes a stream and multiple arguments and unserializes them first as a vector then each object individually in the order provided in the arguments
145template<typename Stream, typename... X>

Callers 4

SerializeHDKeypathsFunction · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85
SerializeMethod · 0.85

Calls 3

WriteCompactSizeFunction · 0.85
GetSerializeSizeManyFunction · 0.85
SerializeManyFunction · 0.85

Tested by

no test coverage detected