5 references to Int16BitsToHalf
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\BitConverter.cs (1)
704
public static Half ToHalf(byte[] value, int startIndex) =>
Int16BitsToHalf
(ToInt16(value, startIndex));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadBigEndian.cs (2)
41
BitConverter.
Int16BitsToHalf
(ReverseEndianness(MemoryMarshal.Read<short>(source))) :
274
value = BitConverter.
Int16BitsToHalf
(ReverseEndianness(tmp));
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReadLittleEndian.cs (2)
41
BitConverter.
Int16BitsToHalf
(ReverseEndianness(MemoryMarshal.Read<short>(source))) :
274
value = BitConverter.
Int16BitsToHalf
(ReverseEndianness(tmp));