Table of Contents

Struct Iterator.Entry

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

One key and value from an Iterator.Enumerator.

public readonly ref struct Iterator.Entry
Inherited Members

Remarks

A ref struct rather than a tuple, because (T1, T2) cannot hold a ReadOnlySpan<T>. Both spans point into the iterator's own buffers and are invalidated as soon as it moves, so copy anything you need to keep.

Properties

Key

The key.

public ReadOnlySpan<byte> Key { get; }

Property Value

ReadOnlySpan<byte>

Value

The value.

public ReadOnlySpan<byte> Value { get; }

Property Value

ReadOnlySpan<byte>