// 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: 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: 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)))); }