MCPcopy Create free account
hub / github.com/comaps/comaps / Serialize

Method Serialize

libs/coding/compressed_bit_vector.cpp:336–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void DenseCBV::Serialize(Writer & writer) const
337{
338 uint8_t header = static_cast<uint8_t>(GetStorageStrategy());
339 WriteToSink(writer, header);
340 rw::WriteVectorOfPOD(writer, m_bitGroups);
341}
342
343unique_ptr<CompressedBitVector> DenseCBV::Clone() const
344{

Callers 1

UNIT_TESTFunction · 0.45

Calls 2

WriteToSinkFunction · 0.85
WriteVectorOfPODFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.36