Beispiel #1
0
 public static ByReference <T> Add(ByReference <T> pointer, int offset)
 {
     return(AddRaw(pointer, UncheckedMul(offset, SizeOfT())));
 }
Beispiel #2
0
 private static extern bool PointerEquals(ByReference <T> value1, ByReference <T> value2);
Beispiel #3
0
        internal static void StoreAtIndex(ByReference <T> pointer, int index, T value)
        {
            ByReference <T> temp = Add(pointer, index);

            Store(temp, value);
        }
Beispiel #4
0
 private static extern ByReference <T> SubRaw(ByReference <T> pointer, int rawOffset);
Beispiel #5
0
 private static extern void Store(ByReference <T> pointer, T value);
Beispiel #6
0
        public static T LoadAtIndex(ByReference <T> pointer, int index)
        {
            ByReference <T> temp = Add(pointer, index);

            return(Load(temp));
        }
Beispiel #7
0
 public static extern T Load(ByReference <T> pointer);
Beispiel #8
0
 public static extern ByReference <T1> Cast <T1>(ByReference <T> pointer);
Beispiel #9
0
 public static extern UIntPtr ToPointer(ByReference <T> pointer);
 public static extern ref T ToRef(ByReference <T> source);
Beispiel #11
0
 internal static extern ByReference <T> AddRaw(ByReference <T> pointer, int rawOffset);