public static IxxXHash Create(xxHashTypes type, xxHashConfig config)
 {
     config.CheckNull(nameof(config));
     config = config.Clone();
     config.HashSizeInBits = (int)type;
     return(new xxHashFunction(config));
 }
Esempio n. 2
0
 public static IxxXHash Create(xxHashTypes type = xxHashTypes.xxHashBit32) => Factory.Create(type);
 public static IxxXHash Create(xxHashTypes type = xxHashTypes.xxHashBit32)
 {
     return(Create(type, new xxHashConfig()));
 }