MCPcopy Create free account
hub / github.com/BirolLab/abyss / Save

Method Save

FMIndex/bit_array.cc:202–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void BitArray::Save(std::ostream& os) const{
203 os.write((const char*)(&length_), sizeof(length_));
204 os.write((const char*)(&bit_blocks_[0]), sizeof(bit_blocks_[0]) * bit_blocks_.size());
205}
206
207void BitArray::Load(std::istream& is){
208 Clear();

Callers 1

BitArraysClass · 0.80

Calls 2

writeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected