What is the best way to send a series of bytes using Photon with minimal overhead?
Options
Hi,
I want to minimise the data I am sending over the network. I can pack my data down into bits and bytes and unpack on the client to keep my messages small as I know exactly the format they need to be in and the order of the bits/bytes.
I am sending data via
What is best practice for sending data with minimal overhead?
I want to minimise the data I am sending over the network. I can pack my data down into bits and bytes and unpack on the client to keep my messages small as I know exactly the format they need to be in and the order of the bits/bytes.
I am sending data via
PhotonNetwork.RaiseEvent
and I am wondering what is the best way to pack the data into the eventContent
object to minimize overhead. I was told that Photon packs a byte per value added but this may only be for the PhotonStream
.What is best practice for sending data with minimal overhead?
0