System::BitConverter::ToSingle メソッド

BitConverter::ToSingle(const System::ArrayPtr<uint8_t>&, int) method

指定されたインデックスから開始する指定された配列の4バイトを、単精度浮動小数点値に変換します。

static float System::BitConverter::ToSingle(const System::ArrayPtr<uint8_t> &value, int startIndex)
パラメーター説明
valueconst System::ArrayPtr<uint8_t>&変換するバイトを含む Array
startIndexint変換のためにバイトの取得を開始する配列内のインデックス

ReturnValue

変換結果の単精度浮動小数点値

参照

BitConverter::ToSingle(const System::Details::ArrayView<uint8_t>&, int) method

指定されたインデックスから開始する指定された配列の4バイトを、単精度浮動小数点値に変換します。

static float System::BitConverter::ToSingle(const System::Details::ArrayView<uint8_t> &value, int startIndex)
パラメーター説明
valueconst System::Details::ArrayView<uint8_t>&変換するバイトを含むArrayView
startIndexint変換のためにバイトの取得を開始する配列内のインデックス

ReturnValue

変換結果の単精度浮動小数点値

参照