PlasmoVoice
Toggle table of contents
2.1.9
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
PlasmoVoice
protocol
/
su.plo.voice.proto.packets.tcp
/
PacketTcpCodec
Packet
Tcp
Codec
open
class
PacketTcpCodec
Members
Functions
decode
Link copied to clipboard
open
fun
<
T
:
PacketHandler
?
>
decode
(
buf
:
ByteArrayDataInput
)
:
Optional
<
Packet
<
T
>
>
open
fun
<
T
:
PacketHandler
?
>
decode
(
@
NotNull
buf
:
@
NotNull
ByteArrayDataInput
,
@
NotNull
direction
:
@
NotNull
PacketDirection
)
:
Optional
<
Packet
<
T
>
>
encode
Link copied to clipboard
open
fun
encode
(
packet
:
Packet
<
out
Any
>
)
:
Array
<
Byte
>