Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
custom
PacketCodec
Class PacketCodec
Hierarchy
PacketCodec
AbridgedPacketCodec
FullPacketCodec
Index
Constructors
constructor
Methods
encode
Packet
read
Packet
Constructors
constructor
new
Packet
Codec
(
connection
:
Buffer
)
:
PacketCodec
Parameters
connection:
Buffer
Returns
PacketCodec
Methods
encode
Packet
encode
Packet
(
data
:
Buffer
)
:
void
Parameters
data:
Buffer
Returns
void
read
Packet
read
Packet
(
reader
:
PromisedNetSockets
|
PromisedWebSockets
)
:
Promise
<
Buffer
>
Parameters
reader:
PromisedNetSockets
|
PromisedWebSockets
Returns
Promise
<
Buffer
>
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
tl
custom
Packet
Codec
constructor
encode
Packet
read
Packet
Generated using
TypeDoc