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
keyReadOnlySpan<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.
valueReadOnlySpan<byte>The current value, with the same lifetime as
key.