public static unsafe void AddFilteredDataset_Fletcher(long fileId) { long res; var length = (ulong)TestData.MediumData.Length / 4; var dims = new ulong[] { length, 4 }; var dcpl_id = H5P.create(H5P.DATASET_CREATE); res = H5P.set_chunk(dcpl_id, 2, new ulong[] { 1000, 4 }); res = H5P.set_fletcher32(dcpl_id); TestUtils.Add(ContainerType.Dataset, fileId, "filtered", $"fletcher", H5T.NATIVE_INT32, TestData.MediumData.AsSpan(), dims, cpl: dcpl_id); res = H5P.close(dcpl_id); }