Table of Contents

Delegate Iterator.ForEachDelegate

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

Receives one key and value during ForEach(ForEachDelegate).

public delegate void Iterator.ForEachDelegate(ReadOnlySpan<byte> key, ReadOnlySpan<byte> value)

Parameters

key ReadOnlySpan<byte>

The current key. Valid only for the duration of the call, because it points into the iterator's buffer; copy it to keep it.

value ReadOnlySpan<byte>

The current value, with the same lifetime as key.