PacketTcpCodec

open class PacketTcpCodec

Functions

Link copied to clipboard
open fun <T : PacketHandler?> decode(buf: ByteArrayDataInput): Optional<Packet<T>>
Link copied to clipboard
open fun encode(packet: Packet<out Any>): Array<Byte>