示例#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>();