libp2p
Preparing search index...
@libp2p/utils
filters
Filter
Interface Filter
interface
Filter
{
add
(
item
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
void
;
has
(
item
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
boolean
;
remove
(
buf
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
boolean
;
}
Implemented by
BloomFilter
CuckooFilter
ScalableCuckooFilter
Index
Methods
add
has
remove?
Methods
add
add
(
item
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
void
Parameters
item
:
string
|
Uint8Array
<
ArrayBufferLike
>
Returns
void
has
has
(
item
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
boolean
Parameters
item
:
string
|
Uint8Array
<
ArrayBufferLike
>
Returns
boolean
Optional
remove
remove
(
buf
:
string
|
Uint8Array
<
ArrayBufferLike
>
)
:
boolean
Parameters
buf
:
string
|
Uint8Array
<
ArrayBufferLike
>
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
has
remove
libp2p
Loading...