We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 920fec0 + ce5fdfe commit 8be4f15Copy full SHA for 8be4f15
src/ReedSolomon.NET.Sample/SampleDecoder.cs
@@ -20,6 +20,7 @@ public static void EntryPoint(string[] args)
20
// var shardsList = Directory.GetFiles(@"path_to_directory/", "data.bin.*");
21
// Exclude the file that name end by .bin
22
var shardsList = Directory.GetFiles(@"path_to_directory/", "data.extension.*")
23
+ .OrderBy(file => int.Parse(file.Split('.').Last()))
24
.Where(file => !file.EndsWith(".extension")).ToList();
25
var shardsCount = shardsList.Count;
26
var shardPresent = new bool[TotalShards];
0 commit comments