public string this[string key]
{
get
{
object theGet = this.tree.Get(key, "");
if (theGet is byte[])
{
byte[] bytes = (byte[]) theGet;
return BytesToString(bytes);
}
//System.Diagnostics.Debug.WriteLine(this.toHtml());
throw new BplusTreeKeyMissing("key not found "+key);
}
set
{
byte[] bytes = StringToBytes(value);
//this.tree[key] = bytes;
this.tree.Set(key, bytes);
}
}