public void Init(string sourceMessage) { dict = new Dictionary <string, int>(); dict.Add("", 0); currentIteration = 0; this.sourceMessage = sourceMessage; buffer = string.Empty; currentString = new LZ78_Coding_String(); IsEnd = false; }
public void Init() { dict = new List <string>(); dict.Add(string.Empty); currentString = new LZ78_Coding_String(); }