src/AnvilPacker/Util/Mem.cs
/// <summary> Reinterprets the given readonly reference to a <typeparamref name="TDst"/> pointer. </summary>
Reinterprets the given readonly reference to a  pointer.
Reinterprets the given readonly reference to a pointer .
[MethodImpl(Inline)]
        public static ref TDst AsRef<TSrc, TDst>(in TSrc ptr)
        {
            return ref Unsafe.As<TSrc, TDst>(ref Unsafe.AsRef(in ptr));
        }
[ MethodImpl ( Inline ) ] public static ref TDst AsRef < TSrc , TDst > ( in TSrc ptr ) { return ref Unsafe . As < TSrc , TDst > ( ref Unsafe . AsRef ( in ptr ) ) ; }
Reinterprets the given readonly reference to a  pointer.
Reinterprets the given readonly reference to a pointer .
TSrc
in