GenericEncodedNodeScannerTKey, TValue Constructor

Initializes a new instance of the GenericEncodedNodeScannerTKey, TValue class with the specified encoding, node level, block size, binary stream, and key lookup function.

Definition

Namespace: SnapDB.Snap.Tree
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public GenericEncodedNodeScanner(
	PairEncodingBase<TKey, TValue> encoding,
	byte level,
	int blockSize,
	BinaryStreamPointerBase stream,
	Func<TKey, byte, uint> lookupKey
)

Parameters

encoding  PairEncodingBaseTKey, TValue
The encoding method used for key and value pairs.
level  Byte
The level of the node (0 for leaf nodes).
blockSize  Int32
The size of a block or node in bytes.
stream  BinaryStreamPointerBase
The binary stream from which to read data.
lookupKey  FuncTKey, Byte, UInt32
A function for looking up keys based on an input key and direction.

See Also