EndianBitConverterToSingle Method |
Returns a single-precision floating point number converted from four bytes at a specified position in a byte array.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public float ToSingle(
byte[] value,
int startIndex
)
Public Function ToSingle (
value As Byte(),
startIndex As Integer
) As Single
public:
float ToSingle(
array<unsigned char>^ value,
int startIndex
)
member ToSingle :
value : byte[] *
startIndex : int -> float32
Parameters
- value
- Type: SystemByte
An array of bytes. - startIndex
- Type: SystemInt32
The starting position within value.
Return Value
Type:
SingleA single precision floating point number formed by four bytes beginning at
startIndex.
See Also