Skip to main content

CheckpointDigest

Namespace: IotaSdk

The digest of a CheckpointSummary.

public class CheckpointDigest : ICheckpointDigest, System.IEquatable`1[[IotaSdk.CheckpointDigest, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance ObjectCheckpointDigest
Implements ICheckpointDigest, IEquatable<CheckpointDigest>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

CheckpointDigest(UInt64)

public CheckpointDigest(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

NextLexicographical()

Returns the next digest in byte-increasing order.

public CheckpointDigest NextLexicographical()

Returns

CheckpointDigest

NextLexicographicalOpt()

Returns the next digest in byte-increasing order, or None if the result would overflow.

public CheckpointDigest? NextLexicographicalOpt()

Returns

CheckpointDigest?

ToBase58()

public string ToBase58()

Returns

String

ToBytes()

public Byte[] ToBytes()

Returns

Byte[]

ToString()

public override string ToString()

Returns

String

Equals(CheckpointDigest)

public bool Equals(CheckpointDigest? other)

Parameters

other CheckpointDigest?

Returns

Boolean

Equals(Object)

public override bool Equals(object? obj)

Parameters

obj Object?

Returns

Boolean

GetHashCode()

public override int GetHashCode()

Returns

Int32

FromBase58(String)

public static CheckpointDigest FromBase58(string base58)

Parameters

base58 String

Returns

CheckpointDigest

Exceptions

SdkFfiException

FromBytes(Byte[])

public static CheckpointDigest FromBytes(Byte[] bytes)

Parameters

bytes Byte[]

Returns

CheckpointDigest

Exceptions

SdkFfiException

Random()

public static CheckpointDigest Random()

Returns

CheckpointDigest