Size returns the number of bits in the bitarray
()
| 38 | |
| 39 | // Size returns the number of bits in the bitarray |
| 40 | func (bA *BitArray) Size() int { |
| 41 | if bA == nil { |
| 42 | return 0 |
| 43 | } |
| 44 | return bA.Bits |
| 45 | } |
| 46 | |
| 47 | // GetIndex returns the bit at index i within the bit array. |
| 48 | // The behavior is undefined if i >= bA.Bits |
nothing calls this directly
no outgoing calls
no test coverage detected