 | LittleEndianBitConverterToSingle Method |
Reads a single-precision floating point number from the specified position in a byte array.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntaxpublic static float ToSingle(
byte[] buffer,
int offset
)
Public Shared Function ToSingle (
buffer As Byte(),
offset As Integer
) As Single
public:
static float ToSingle(
array<unsigned char>^ buffer,
int offset
)
static member ToSingle :
buffer : byte[] *
offset : int -> float32
Parameters
- buffer
- Type: SystemByte
An array of bytes. - offset
- Type: SystemInt32
The starting position within buffer.
Return Value
Type:
SingleA single-precision floating point number formed by four bytes beginning at
offset.
See Also