public unsafe byte this [int index] {
     get
     {
         fixed(byte *thisSwiftDataPtr = StructMarshal.Marshaler.PrepareNominal(this))
         {
             return(NativeMethodsForUnsafeRawBufferPointer.PImethod_getAt((IntPtr)thisSwiftDataPtr, index));
         }
     }
 }
        public unsafe UnsafeRawBufferPointer(IntPtr start, nint count)
        {
            if (start == IntPtr.Zero)
                throw new ArgumentNullException(nameof(start));
            fixed(byte *thisDataPtr = StructMarshal.Marshaler.PrepareNominal(this))
            {
                IntPtr thisPtr = new IntPtr(thisDataPtr);

                NativeMethodsForUnsafeRawBufferPointer.PI_UnsafeRawBufferPointer(thisPtr, start, count);
            }
        }
 public static SwiftMetatype GetSwiftMetatype()
 {
     return(NativeMethodsForUnsafeRawBufferPointer.PIMetadataAccessor_UnsafeRawBufferPointer(SwiftMetadataRequest.Complete));
 }