ToBitSet copies the content of the RoaringBitmap into a bitset.BitSet instance
()
| 434 | |
| 435 | // ToBitSet copies the content of the RoaringBitmap into a bitset.BitSet instance |
| 436 | func (rb *Bitmap) ToBitSet() *bitset.BitSet { |
| 437 | return bitset.From(rb.ToDense()) |
| 438 | } |
| 439 | |
| 440 | // FromBitSet creates a new RoaringBitmap from a bitset.BitSet instance |
| 441 | func FromBitSet(bitset *bitset.BitSet) *Bitmap { |