public void Dispose() { Header = null; ESpecStringTable.Clear(); ESpecStringTable.TrimExcess(); ESpecStringTable = null; CEKeys.Clear(); CEKeys = null; EKeys.Clear(); EKeys = null; }
/// <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), }; }