src/AnvilPacker/Util/Mem.cs
/// <summary> Writes a <typeparamref name="T"/> element to the primitive array, in the platform's native byte order. </summary>
Writes a  element to the primitive array, in the platform's native byte order.
Writes a element to the primitive array in the platform ' s native byte order .
[MethodImpl(Inline)]
        public static void Write<T>(Array arr, nint bytePos, T value) where T : unmanaged
        {
            Write<T>(ref GetByteRef(arr), bytePos, value);
        }
[ MethodImpl ( Inline ) ] public static void Write < T > ( Array arr , nint bytePos , T value ) where T : unmanaged { Write < T > ( ref GetByteRef ( arr ) , bytePos , value ) ; }
Writes a  element to the primitive array, in the platform's native byte order.
Writes a element to the primitive array in the platform ' s native byte order .
arr
Array
bytePos
nint
value
T