 | LittleEndianBitConverterToSingle Method |
Reads a single-precision floating point number from the specified position in a byte array.
Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
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 Byte
- An array of bytes.
- offset Int32
- The starting position within buffer.
Return Value
SingleA single-precision floating point number formed by four bytes beginning at
offset.
See Also