SequentialSortedTreeWriterTKey, TValueCreate Method
Writes the supplied stream to the binary stream.
Namespace: SnapDB.Snap.Tree.SpecializedAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
SnapDB.Snap.Tree.Specialized.SequentialSortedTreeWriter.Create = function(stream, blockSize, treeNodeType, treeStream);
Parameters
- stream BinaryStreamPointerBase
- The stream to store the sorted tree structure.
- blockSize Int32
- The size of each block in the stream.
- treeNodeType EncodingDefinition
- The encoding definition for tree node data.
- treeStream TreeStreamTKey, TValue
- The tree stream to initialize the sorted tree structure.
| ArgumentNullException | Thrown if stream, treeStream, or treeNodeType is null. |
| ArgumentException | Thrown if treeStream does not guarantee sequential reads or contains duplicates. |