Method CurrentIndex
CurrentIndex()
The current decoding index.
The first value encoded by EncodeNext(Int64) has index 0.
Only valid directly after
NextValue(), AdvanceToValue(Int64),
PreviousValue(), or BackToValue(Int64)
returned another value than NO_MORE_VALUES,
or AdvanceToIndex(Int64) returned true
.
Declaration
public virtual long CurrentIndex()
Returns
Type | Description |
---|---|
System.Int64 | The decoding index of the last decoded value, or as last set by AdvanceToIndex(Int64). |