BplusDotNet.BplusTreeBytes.ReOpen C# (CSharp) Method

ReOpen() public static method

public static ReOpen ( System treefile, System blockfile ) : BplusTreeBytes
treefile System
blockfile System
return BplusTreeBytes
        public static BplusTreeBytes ReOpen(System.IO.Stream treefile, System.IO.Stream blockfile)
        {
            BplusTreeLong tree = BplusTreeLong.SetupFromExistingStream(treefile);
            LinkedFile archive = LinkedFile.SetupFromExistingStream(blockfile);
            return new BplusTreeBytes(tree, archive);
        }

Same methods

BplusTreeBytes::ReOpen ( string treefileName, string blockfileName ) : BplusTreeBytes
BplusTreeBytes::ReOpen ( string treefileName, string blockfileName, System access ) : BplusTreeBytes

Usage Example

Esempio n. 1
0
        public static xBplusTreeBytes ReOpen(System.IO.Stream treefile, System.IO.Stream blockfile)
        {
            BplusTreeBytes tree         = BplusTreeBytes.ReOpen(treefile, blockfile);
            int            prefixLength = tree.MaxKeyLength();

            return(new xBplusTreeBytes(tree, prefixLength));
        }
All Usage Examples Of BplusDotNet.BplusTreeBytes::ReOpen