Method ReadPackedFloat
ReadPackedFloat(NetworkCompressionModel)
Reads a 4-byte floating point value from the data stream using a NetworkCompressionModel.
Declaration
public float ReadPackedFloat(NetworkCompressionModel model)
Parameters
Type | Name | Description |
---|---|---|
NetworkCompressionModel | model | NetworkCompressionModel model for reading value in a packed manner. |
Returns
Type | Description |
---|---|
float | A 4-byte floating point value read from the current stream, or 0 if the end of the stream has been reached. |