MCPcopy
hub / github.com/RoaringBitmap/roaring / Validate

Method Validate

roaring.go:2473–2475  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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.
2473func (rb *Bitmap) Validate() error {
2474 return rb.highlowcontainer.validate()
2475}

Calls 1

validateMethod · 0.65