Validate checks if the bitmap is internally consistent. You may call it after deserialization to check that the bitmap is valid. This function returns an error if the bitmap is invalid, nil otherwise.
()
| 2471 | // You may call it after deserialization to check that the bitmap is valid. |
| 2472 | // This function returns an error if the bitmap is invalid, nil otherwise. |
| 2473 | func (rb *Bitmap) Validate() error { |
| 2474 | return rb.highlowcontainer.validate() |
| 2475 | } |