Beispiel #1
0
 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;
 }
Beispiel #2
0
 public void Init()
 {
     dict = new List <string>();
     dict.Add(string.Empty);
     currentString = new LZ78_Coding_String();
 }