At function checks if the bit at the specified position is set
(pos uint)
| 357 | |
| 358 | // At function checks if the bit at the specified position is set |
| 359 | func (b *BitSet) At(pos uint) bool { |
| 360 | return b.b.Test(pos) |
| 361 | } |
| 362 | |
| 363 | // Next function finds the next set bit in the bitset |
| 364 | func (b *BitSet) Next(pos uint) (uint, bool) { |
no outgoing calls