Пример #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>();