Petal.Bitfield (petal v0.2.0) View Source

Bitfield is the core structure about the Bloom filter.

Link to this section Summary

Types

t()

Defines the core type

Functions

Creates a new Bitfield.

Link to this section Types

Specs

t() :: %Petal.Bitfield{bitfield: binary(), size: pos_integer()}

Defines the core type

Link to this section Functions

Specs

new(size :: pos_integer()) :: t()

Creates a new Bitfield.