static H5Filter() { H5Filter.Registrations = new ConcurrentDictionary <FilterIdentifier, H5FilterRegistration>(); H5Filter.Register(H5FilterID.Shuffle, "shuffle", H5Filter.ShuffleFilterFunc); H5Filter.Register(H5FilterID.Fletcher32, "fletcher", H5Filter.Fletcher32FilterFunc); H5Filter.Register(H5FilterID.Nbit, "nbit", H5Filter.NbitFilterFunc); H5Filter.Register(H5FilterID.ScaleOffset, "scaleoffset", H5Filter.NbitFilterFunc); H5Filter.Register(H5FilterID.Deflate, "deflate", H5Filter.DeflateFilterFunc); }
static H5Filter() { H5Filter.Registrations = new List <H5FilterRegistration>(); H5Filter.Register(FilterIdentifier.Shuffle, "shuffle", H5Filter.ShuffleFilterFunc); H5Filter.Register(FilterIdentifier.Fletcher32, "fletcher", H5Filter.Fletcher32FilterFunc); H5Filter.Register(FilterIdentifier.Nbit, "nbit", H5Filter.NbitFilterFunc); H5Filter.Register(FilterIdentifier.ScaleOffset, "scaleoffset", H5Filter.NbitFilterFunc); H5Filter.Register(FilterIdentifier.Deflate, "deflate", H5Filter.DeflateFilterFunc); }