Class: SendHeadersPacket

net/packets~SendHeadersPacket

new SendHeadersPacket()

Represents a sendheaders packet.

Source:

Methods

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

Instantiate sendheaders packet from serialized data.

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

(static) fromReader(br) → {SendHeadersPacket}

Instantiate sendheaders packet from buffer reader.

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