Skip to content
Last Updated
Mar 28, 2025, 03:08

Class PacketInBound ​

🏭 Constructors ​

constructor export ​

ts
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

🔧 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