Ejemplo n.º 1
0
 public void Dispose()
 {
     Header = null;
     ESpecStringTable.Clear();
     ESpecStringTable.TrimExcess();
     ESpecStringTable = null;
     CEKeys.Clear();
     CEKeys = null;
     EKeys.Clear();
     EKeys = null;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new EncodingFile
        /// </summary>
        public EncodingFile()
        {
            EncodingHeader   = new EncodingHeader();
            ESpecStringTable = new List <string> {
                "z", ""
            };
            _CKeyEntries = new CKeyPageTable(new MD5HashComparer());
            _EKeyEntries = new EKeyPageTable(new MD5HashComparer());

            _EncodingMap = new[]
            {
                new EMap(EType.None, 6),
                new EMap(EType.ZLib, 9),
                new EMap(EType.None, 6),
                new EMap(EType.None, 6),
                new EMap(EType.None, 6),
                new EMap(EType.None, 6),
                new EMap(EType.ZLib, 9),
            };
        }