예제 #1
0
 public static unsafe bool Equals <T>(void *a, void *b) where T : struct =>
 Equals(a, b, ObjectUtil.SizeOf <T>());
예제 #2
0
 public static int SizeOf <T>(this T obj) where T : struct =>
 ObjectUtil.SizeOf <T>();