Click or drag to resize

BitWriterWriteRangedDouble Method

[This is preliminary documentation and is subject to change.]

Write a double-precision floating point value to the stream. The value is between (inclusive) the minValue and maxValue.

Namespace:  MLAPI.Serialization
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void WriteRangedDouble(
	double value,
	double minValue,
	double maxValue,
	int bytes
)
Request Example View Source

Parameters

value
Type: SystemDouble
Value to write
minValue
Type: SystemDouble
Minimum value that this value could be
maxValue
Type: SystemDouble
Maximum possible value that this could be
bytes
Type: SystemInt32
How many bytes the compressed result should occupy. Must be between 1 and 8 (inclusive)
See Also