diff --git a/src/ImageSharp/PixelFormats/HalfTypeHelper.cs b/src/ImageSharp/PixelFormats/HalfTypeHelper.cs
index 0683b3d1c..4df722823 100644
--- a/src/ImageSharp/PixelFormats/HalfTypeHelper.cs
+++ b/src/ImageSharp/PixelFormats/HalfTypeHelper.cs
@@ -28,5 +28,5 @@ internal static class HalfTypeHelper
/// The value.
/// The .
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static float Unpack(ushort value) => (float)Unsafe.As(ref value);
+ internal static float Unpack(ushort value) => (float)BitConverter.UInt16BitsToHalf(value);
}