toDataPacket

fun toDataPacket(packet: ERROR CLASS: Symbol not found for MeshPacket): DataPacket?(source)

Maps a MeshPacket to a DataPacket, or returns null if the packet has no decoded data.