/// <exception cref="System.IO.IOException"/> public MetaIndex(BinaryReader reader) { // for read, construct the map from the file int count = Utils.ReadVInt(@in); index = new SortedDictionary <string, BCFile.MetaIndexEntry>(); for (int nx = 0; nx < count; nx++) { BCFile.MetaIndexEntry indexEntry = new BCFile.MetaIndexEntry(@in); index[indexEntry.GetMetaName()] = indexEntry; } }
public virtual void AddEntry(BCFile.MetaIndexEntry indexEntry) { index[indexEntry.GetMetaName()] = indexEntry; }