Ultimate Replay Scripting Reference
BitConverterNonAllocGetFloat Method |
Retreive a 32-bit float from the specified byte array.
Namespace: UltimateReplay.Util
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static float GetFloat( byte[] buffer )
Parameters
- buffer
- Type: SystemByte
The buffer to retreive the float from which must have a size of 4 or greater
Return Value
Type: SingleThe unpacked float value
See Also