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

Function SerializeToVector

src/psbt.h:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls 4

WriteCompactSizeFunction · 0.85
GetSerializeSizeManyFunction · 0.85
SerializeManyFunction · 0.85
GetVersionMethod · 0.45

Tested by

no test coverage detected