Class: FilterAddPacket

net/packets~FilterAddPacket(datanullable)

FilterAdd Packet

Constructor

new FilterAddPacket(datanullable)

Create a filteradd packet.

Parameters:
Name Type Attributes Description
data Buffer <nullable>
Properties:
Name Type Description
data Buffer
Source:

Extends

  • Packet

Methods

getSize() → {Number}

Get serialization size.

Source:
Returns:
Type
Number

read(br)

Inject properties from buffer reader.

Parameters:
Name Type Description
br bio.BufferReader
Source:

write() → {BufioWriter}

Serialize filteradd packet to writer.

Source:
Returns:

bw

Type
BufioWriter