private int FindTOC() { int f = -1; for (int i = 0; i < Header.FileCount; i++) { if (CompareByteArray(Files[i].Hash, TOCHash)) f = i; } return f; }