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

변환 결과 단정밀도 부동소수점 값

또 보기