Create a Minisketch object sufficiently large for the specified number of elements at given fpbits. * It may construct an invalid object, which you may need to check for. */
| 271 | /** Create a Minisketch object sufficiently large for the specified number of elements at given fpbits. |
| 272 | * It may construct an invalid object, which you may need to check for. */ |
| 273 | static Minisketch CreateFP(uint32_t bits, uint32_t implementation, size_t max_elements, uint32_t fpbits) noexcept |
| 274 | { |
| 275 | return Minisketch(bits, implementation, ComputeCapacity(bits, max_elements, fpbits)); |
| 276 | } |
| 277 | |
| 278 | /** Return the field size for a (valid) Minisketch object. */ |
| 279 | uint32_t GetBits() const noexcept { return minisketch_bits(m_minisketch.get()); } |
nothing calls this directly
no test coverage detected