internal static string ToString(Lucene.Net.Support.Buffer b)
 {
     return (b.GetType().Name
             + "[pos=" + b.Position
             + " lim=" + b.Limit
             + " cap=" + b.Capacity
             + "]");
 }