src/AnvilPacker/Util/Mem.cs
/// <summary> Reads a <typeparamref name="T"/> element from the array, in the platform's native byte order. Unaligned access is assumed. </summary>
Reads a  element from the array, in the platform's native byte order. Unaligned access is assumed.
Reads a element from the array in the platform ' s native byte order . Unaligned access is assumed .
[MethodImpl(Inline)]
        public static T Read<T>(Array buf, nint bytePos) where T : unmanaged
        {
            return Read<T>(ref GetByteRef(buf), bytePos);
        }
[ MethodImpl ( Inline ) ] public static T Read < T > ( Array buf , nint bytePos ) where T : unmanaged { return Read < T > ( ref GetByteRef ( buf ) , bytePos ) ; }
Reads a  element from the array, in the platform's native byte order.
Reads a element from the array in the platform ' s native byte order .
buf
Array
bytePos
nint