Class: GetAddrPacket

net/packets~GetAddrPacket

new GetAddrPacket()

Represents a getaddr packet.

Source:

Methods

(static) fromRaw(data, encnullable) → {GetAddrPacket}

Instantiate getaddr packet from serialized data.

Parameters:
Name Type Attributes Description
data Buffer
enc String <nullable>
Source:
Returns:
Type
GetAddrPacket

(static) fromReader(br) → {GetAddrPacket}

Instantiate getaddr packet from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:
Returns:
Type
GetAddrPacket