capacity returns the total capacity of the bit array.
()
| 70 | |
| 71 | // capacity returns the total capacity of the bit array. |
| 72 | func (ba *bitArray) Capacity() uint64 { |
| 73 | return uint64(len(ba.blocks)) * s |
| 74 | } |
| 75 | |
| 76 | // ToNums converts this bitarray to a list of numbers contained within it. |
| 77 | func (ba *bitArray) ToNums() []uint64 { |
no outgoing calls
no test coverage detected