// Token: 0x06001A7E RID: 6782 RVA: 0x0004E4A0 File Offset: 0x0004C6A0 public void method_6 <T>(int offset, int index) { if (index == 0) { Marshal.DestroyStructure(this.Memory.smethod_11(offset), typeof(T)); return; } Marshal.DestroyStructure(this.Memory.smethod_11(offset + Class128.smethod_0(typeof(T)) * index), typeof(T)); }
// Token: 0x06001A9C RID: 6812 RVA: 0x0004E5AC File Offset: 0x0004C7AC public void method_35 <T>(int offset, int index, T s) where T : struct { if (index == 0) { Marshal.StructureToPtr(s, this.Memory.smethod_11(offset), false); return; } Marshal.StructureToPtr(s, this.Memory.smethod_11(offset + Class128.smethod_0(typeof(T)) * index), false); }
// Token: 0x06001A77 RID: 6775 RVA: 0x0004E484 File Offset: 0x0004C684 public unsafe static void *smethod_2(Class128 memory) { return(memory.Memory.ToPointer()); }
// Token: 0x06001A76 RID: 6774 RVA: 0x0000968E File Offset: 0x0000788E public static IntPtr smethod_1(Class128 memory) { return(memory.Memory); }
// Token: 0x06001A90 RID: 6800 RVA: 0x0004E548 File Offset: 0x0004C748 public T method_23 <T>(int offset, int index) where T : struct { if (index == 0) { return((T)((object)Marshal.PtrToStructure(this.Memory.smethod_11(offset), typeof(T)))); } return((T)((object)Marshal.PtrToStructure(this.Memory.smethod_11(offset + Class128.smethod_0(typeof(T)) * index), typeof(T)))); }