Method WritePackedFloat
WritePackedFloat(float, NetworkCompressionModel)
Writes a 4-byte floating point value to the data stream using a NetworkCompressionModel.
Declaration
public bool WritePackedFloat(float value, NetworkCompressionModel model)
Parameters
Type | Name | Description |
---|---|---|
float | value | The 4-byte floating point value to write. |
NetworkCompressionModel | model | NetworkCompressionModel model for writing value in a packed manner. |
Returns
Type | Description |
---|---|
bool | Whether the write was successful |