Struct PathCursor
Assembly: Libplanet.Store.dll
Syntax
public readonly struct PathCursor
Constructors
|
Improve this Doc
View Source
PathCursor(in KeyBytes)
Declaration
public PathCursor(in KeyBytes keyBytes)
Parameters
|
Improve this Doc
View Source
PathCursor(in Nibbles)
Declaration
public PathCursor(in Nibbles nibbles)
Parameters
Fields
|
Improve this Doc
View Source
Length
Declaration
public readonly int Length
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Nibbles
Declaration
public readonly Nibbles Nibbles
Field Value
|
Improve this Doc
View Source
Offset
Declaration
public readonly int Offset
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
NextNibble
Declaration
public readonly byte NextNibble { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
RemainingAnyNibbles
Declaration
public readonly bool RemainingAnyNibbles { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemainingNibbleLength
Declaration
public readonly int RemainingNibbleLength { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
CountCommonStartingNibbles(in Nibbles)
Declaration
public readonly int CountCommonStartingNibbles(in Nibbles nibbles)
Parameters
Type |
Name |
Description |
Nibbles |
nibbles |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetCommonStartingNibbles(in Nibbles)
Declaration
public readonly Nibbles GetCommonStartingNibbles(in Nibbles nibbles)
Parameters
Type |
Name |
Description |
Nibbles |
nibbles |
|
Returns
|
Improve this Doc
View Source
GetConsumedNibbles()
Declaration
public readonly Nibbles GetConsumedNibbles()
Returns
|
Improve this Doc
View Source
GetRemainingNibbles()
Declaration
public readonly Nibbles GetRemainingNibbles()
Returns
|
Improve this Doc
View Source
Next(Int32)
Declaration
public readonly PathCursor Next(int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
offset |
|
Returns
|
Improve this Doc
View Source
RemainingNibblesStartWith(in Nibbles)
Declaration
public readonly bool RemainingNibblesStartWith(in Nibbles nibbles)
Parameters
Type |
Name |
Description |
Nibbles |
nibbles |
|
Returns
Type |
Description |
System.Boolean |
|