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