Module Bloomf.Make

The output interface for Bloomf.Make.

Parameters

Signature

type t
val create : ?⁠error_rate:float -> int -> t
val add : t -> H.t -> unit
val mem : t -> H.t -> bool
val clear : t -> unit
val size_estimate : t -> int
val to_bytes : t -> bytes
val of_bytes : bytes -> (t[ `Msg of string ]) Stdlib.result