MCPcopy Create free account
hub / github.com/ByConity/ByConity / writeBitmap

Method writeBitmap

src/Interpreters/Set.cpp:620–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620void Set::writeBitmap(WriteBuffer & out) const
621{
622 auto size = bitmap_set.getSizeInBytes();
623 writeVarUInt(size, out);
624 PODArray<char> buffer(size);
625 bitmap_set.write(buffer.data());
626 out.write(buffer.data(), size);
627}
628
629void Set::readBitmap(ReadBuffer & in)
630{

Callers

nothing calls this directly

Calls 4

writeVarUIntFunction · 0.85
getSizeInBytesMethod · 0.45
writeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected