public BinTreeNodeWriter(string[] dict)
{
this.tokenMap = new Dictionary<string, int>();
for (int i = 0; i < dict.Length; i++)
{
if (dict[i] != null && dict[i].Length > 0)
{
if (!this.tokenMap.ContainsKey(dict[i]))
this.tokenMap.Add(dict[i], i);
else
this.tokenMap[dict[i]] = i;
}
}
buffer = new List<byte>();
}