public string toHtml()
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append(((BplusTreeBytes) this.tree).toHtml());
sb.Append("\r\n<br><b>key / hash / value dump</b><br>");
string currentkey = this.FirstKey();
while (currentkey!=null)
{
sb.Append("\r\n<br>"+currentkey);
sb.Append(" / "+BplusNode.PrintableString(this.PrefixForByteCount(currentkey, this.prefixLength)));
try
{
sb.Append( " / value found " );
}
catch (Exception)
{
sb.Append( " !!!!!!! FAILED TO GET VALUE");
}
currentkey = this.NextKey(currentkey);
}
return sb.ToString();
}