/// <summary>
 /// Returns a member of this array by reference.
 /// </summary>
 public ref TStruct this[int index] => ref RefPointer <TStruct> .Create(&Pointer[index]);
예제 #2
0
        public RefPointer <T> AsRefPointer() => this; // Implicit Conversion

        /// <summary>
        /// Converts this <see cref="BlittablePointer{T}"/> to a value reference.
        /// </summary>
        public ref T AsReference() => ref RefPointer <T> .Create(Pointer); // Implicit Conversion