/// <summary>
        /// Initializes a new <see cref="HierarchicalRomFileTable"/> that has the specified initial capacity.
        /// </summary>
        /// <param name="directoryCapacity">The initial number of directories that the
        /// <see cref="HierarchicalRomFileTable"/> can contain.</param>
        /// <param name="fileCapacity">The initial number of files that the
        /// <see cref="HierarchicalRomFileTable"/> can contain.</param>
        public HierarchicalRomFileTable(int directoryCapacity, int fileCapacity)
        {
            FileTable      = new RomFsDictionary <FileRomEntry>(fileCapacity);
            DirectoryTable = new RomFsDictionary <DirectoryRomEntry>(directoryCapacity);

            CreateRootDirectory();
        }
 /// <summary>
 /// Initializes a <see cref="HierarchicalRomFileTable"/> from an existing table.
 /// </summary>
 /// <param name="dirHashTable"></param>
 /// <param name="dirEntryTable"></param>
 /// <param name="fileHashTable"></param>
 /// <param name="fileEntryTable"></param>
 public HierarchicalRomFileTable(IStorage dirHashTable, IStorage dirEntryTable, IStorage fileHashTable,
                                 IStorage fileEntryTable)
 {
     FileTable      = new RomFsDictionary <FileRomEntry>(fileHashTable, fileEntryTable);
     DirectoryTable = new RomFsDictionary <DirectoryRomEntry>(dirHashTable, dirEntryTable);
 }