public static new HashedBPTreeBytes ReOpen(Stream treefile, Stream blockfile) { var tree = new BPTreeBytes(treefile, blockfile); int prefixLength = tree.MaxKeyLength(); return new HashedBPTreeBytes(tree, prefixLength); }
public static new HashedBPTreeBytes ReOpen(string treefileName, string blockfileName) { var tree = new BPTreeBytes(treefileName, blockfileName); int prefixLength = tree.MaxKeyLength(); return new HashedBPTreeBytes(tree, prefixLength); }
public HashedBPTreeBytes(BPTreeBytes tree, int hashLength) : base(tree, hashLength) { // null out the culture context to use the naive comparison Tree.NoCulture(); }