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
ts
buffer: ByteBuffer = ...
Defined in: packages/client/channel.ts:166
🔧 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:170
readPacketLength
ts
readPacketLength(bb: ByteBuffer): number
Parameters
- bb:
ByteBuffer
Return Type
number
Defined in: packages/client/channel.ts:168