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

Function Serialize_impl

src/serialize.h:630–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628 */
629template<typename Stream, unsigned int N, typename T>
630void Serialize_impl(Stream& os, const prevector<N, T>& v, const unsigned char&)
631{
632 WriteCompactSize(os, v.size());
633 if (!v.empty())
634 os.write((char*)v.data(), v.size() * sizeof(T));
635}
636
637template<typename Stream, unsigned int N, typename T, typename V>
638void Serialize_impl(Stream& os, const prevector<N, T>& v, const V&)

Callers 1

SerializeFunction · 0.85

Calls 8

WriteCompactSizeFunction · 0.85
SerializeFunction · 0.70
sizeMethod · 0.45
emptyMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected