Class PacketOutbound
🏭 Constructors
constructor
ts
new PacketOutbound(opts: TransformOptions): PacketOutbound
Parameters
- opts:
TransformOptions
Return Type
PacketOutbound
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(packet: Buffer, encoding: string, callback: TransformCallback): void
Parameters
- packet:
Buffer
- encoding:
string
- callback:
TransformCallback
Return Type
void
Defined in: packages/client/channel.ts:325
writePacketLength protected abstract
ts
writePacketLength(bb: ByteBuffer, len: number): void
Parameters
- bb:
ByteBuffer
- len:
number
Return Type
void
Defined in: packages/client/channel.ts:323