Constructor
new FilterLoadPacket(filter)
Create a filterload
packet.
Parameters:
Name | Type | Description |
---|---|---|
filter |
BloomFilter | null |
- Source:
Extends
- Packet
Methods
getSize() → {Number}
Get serialization size.
- Source:
Returns:
- Type
- Number
isWithinConstraints() → {Boolean}
Ensure the filter is within the size limits.
- Source:
Returns:
- Type
- Boolean
(private) read(br)
Inject properties from buffer reader.
Parameters:
Name | Type | Description |
---|---|---|
br |
BufferReader |
- Source:
write(bw)
Serialize filterload packet to writer.
Parameters:
Name | Type | Description |
---|---|---|
bw |
BufferWriter |
- Source: