public static int SizeOfArray <T>(T[] value) { return(value.Sum(v => SizeMapper <T> .ValueSizeFunc(v))); }
public static int SizeOf <T>(T value) { return(SizeMapper <T> .ValueSizeFunc(value)); }