BplusDotNet.LinkedFile.SetupFromExistingStream C# (CSharp) Method

SetupFromExistingStream() public static method

public static SetupFromExistingStream ( System fromfile ) : LinkedFile
fromfile System
return LinkedFile
        public static LinkedFile SetupFromExistingStream(System.IO.Stream fromfile)
        {
            return SetupFromExistingStream(fromfile, (long)0);
        }

Same methods

LinkedFile::SetupFromExistingStream ( System fromfile, long StartSeek ) : LinkedFile

Usage Example

コード例 #1
0
        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));
        }