Struct MerkleTrie.PathCursor
Assembly: Libplanet.Store.dll
Syntax
public readonly struct PathCursor
Constructors
|
Improve this Doc
View Source
PathCursor(in KeyBytes, Boolean)
Declaration
public PathCursor(in KeyBytes keyBytes, bool secure)
Parameters
Fields
|
Improve this Doc
View Source
Bytes
Declaration
public readonly ImmutableArray<byte> Bytes
Field Value
|
Improve this Doc
View Source
NibbleLength
Declaration
public readonly int NibbleLength
Field Value
|
Improve this Doc
View Source
NibbleOffset
Declaration
public readonly int NibbleOffset
Field Value
Properties
|
Improve this Doc
View Source
NextNibble
Declaration
[Pure]
public readonly byte NextNibble { get; }
Property Value
|
Improve this Doc
View Source
RemainingAnyNibbles
Declaration
[Pure]
public readonly bool RemainingAnyNibbles { get; }
Property Value
|
Improve this Doc
View Source
RemainingNibbleLength
Declaration
[Pure]
public readonly int RemainingNibbleLength { get; }
Property Value
Methods
|
Improve this Doc
View Source
CountCommonStartingNibbles(in ImmutableArray<Byte>)
Declaration
[Pure]
public readonly int CountCommonStartingNibbles(in ImmutableArray<byte> nibbles)
Parameters
Returns
|
Improve this Doc
View Source
FromNibbles(in ImmutableArray<Byte>, Int32)
Declaration
[Pure]
public static MerkleTrie.PathCursor FromNibbles(in ImmutableArray<byte> nibbles, int nibbleOffset = 0)
Parameters
Returns
|
Improve this Doc
View Source
GetRemainingNibbles()
Declaration
[Pure]
public readonly ImmutableArray<byte> GetRemainingNibbles()
Returns
|
Improve this Doc
View Source
Next(Int32)
Declaration
[Pure]
public readonly MerkleTrie.PathCursor Next(int nibbleOffset)
Parameters
| Type |
Name |
Description |
| Int32 |
nibbleOffset |
|
Returns
|
Improve this Doc
View Source
NibbleAt(Int32)
Declaration
[Pure]
public readonly byte NibbleAt(int index)
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Returns
|
Improve this Doc
View Source
RemainingNibblesStartWith(in ImmutableArray<Byte>)
Declaration
[Pure]
public readonly bool RemainingNibblesStartWith(in ImmutableArray<byte> nibbles)
Parameters
Returns