parseFrom

fun parseFrom(data: ByteArray): Packet

Decodes the specified data to a Packet.