OpenMetaverse Protocol Library Developers API Documentation
ByteToFloat Method (bytes, pos, lower, upper)
NamespacesOpenMetaverseUtilsByteToFloat( array< Byte > [] () [] [] , Int32, Single, Single)
Convert a byte to a float value given a minimum and maximum range
Declaration Syntax
C#
public 
static 
float 
ByteToFloat(
        
byte[] 
bytes,
        
int 
pos,
        
float 
lower,
        
float 
upper
)
Parameters
bytes ( array< Byte > [] () [] [] )
Byte array to get the byte from
pos ( Int32)
Position in the byte array the desired byte is at
lower ( Single)
Minimum value range
upper ( Single)
Maximum value range
Return Value
A float value inclusively between lower and upper

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0