NodeWriterTKey, TValueCreate Method
Creates a new node with the specified parameters and initializes its header and encoding.
Namespace: SnapDB.Snap.Tree.SpecializedAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
SnapDB.Snap.Tree.Specialized.NodeWriter.Create = function(encodingMethod, stream, blockSize, level, startingNodeIndex, getNextNewNodeIndex, sparseIndex, treeStream);
Parameters
- encodingMethod EncodingDefinition
- The encoding method to be used for the node.
- stream BinaryStreamPointerBase
- The binary stream where the node will be created.
- blockSize Int32
- The size of the node's data block.
- level Byte
- The level of the node in the tree.
- startingNodeIndex UInt32
- The index of the starting node.
- getNextNewNodeIndex FuncUInt32
- A function to get the next new node index.
- sparseIndex SparseIndexWriterTKey
- The sparse index writer for the tree.
- treeStream TreeStreamTKey, TValue
- The tree stream.