(int BlockNumber, int limit = -1)
| 635 | } |
| 636 | |
| 637 | public int[] StfsGetDataBlockChain(int BlockNumber, int limit = -1) |
| 638 | { |
| 639 | var blockList = new List<int>(); |
| 640 | while (BlockNumber != 0xFFFFFF) |
| 641 | { |
| 642 | if (limit != -1 && blockList.Count > limit) |
| 643 | break; |
| 644 | |
| 645 | blockList.Add(BlockNumber); |
| 646 | var hashEntry = StfsGetLevel0HashEntry(BlockNumber); |
| 647 | BlockNumber = hashEntry.Level0NextBlock; |
| 648 | } |
| 649 | return blockList.ToArray(); |
| 650 | } |
| 651 | |
| 652 | // Info about a file stored inside the STFS image |
| 653 | public class FileEntry |
no test coverage detected