Exemplo n.º 1
0
 public Hsht(int m, int count)
 {
     Magic = m;
     Size = 0;
     Table = new HashTable[count];
     for (int i = 0; i < Table.Length; i++)
     {
         Table[i] = new HashTable();
     }
 }
Exemplo n.º 2
0
 public Hsht(LngBinaryReader b)
 {
     Magic = b.ReadInt32();
     Size = b.ReadInt32();
     Table = new HashTable[Size / 8];
     for (int i = 0; i < Table.Length; i++)
     {
         Table[i] = new HashTable(b.ReadInt32(), b.ReadInt32());
     }
 }