Skip to content

Class PacketInBound

🏭 Constructors

constructor

ts
new PacketInBound(opts: TransformOptions): PacketInBound

Parameters

  • opts: TransformOptions

Return Type

  • PacketInBound

Inherited from: Transform.constructor

Defined in: node_modules/.pnpm/@types+node@18.15.11/node_modules/@types/node/stream.d.ts:1045

🏷️ Properties

buffer private

ts
buffer: ByteBuffer = ...

Defined in: packages/client/channel.ts:177

🔧 Methods

_transform

ts
_transform(chunk: Buffer, encoding: string, callback: TransformCallback): void

Parameters

  • chunk: Buffer
  • encoding: string
  • callback: TransformCallback

Return Type

  • void

Defined in: packages/client/channel.ts:181

readPacketLength protected abstract

ts
readPacketLength(bb: ByteBuffer): number

Parameters

  • bb: ByteBuffer

Return Type

  • number

Defined in: packages/client/channel.ts:179