Skip to main content

ObjectDigestInterface

interface ObjectDigestInterface

The digest of an Object.

Inheritors

ObjectDigest

Functions

NameSummary
isAliveabstract fun isAlive(): Boolean
Returns whether the digest represents an object that is neither deleted nor wrapped.
isDeletedabstract fun isDeleted(): Boolean
Returns whether the digest represents a deleted object.
isWrappedabstract fun isWrapped(): Boolean
Returns whether the digest represents an object wrapped in another object.
nextLexicographicalabstract fun nextLexicographical(): ObjectDigest
Returns the next digest in byte-increasing order.
nextLexicographicalOptabstract fun nextLexicographicalOpt(): ObjectDigest?
Returns the next digest in byte-increasing order, or None if the result would overflow.
toBase58abstract fun toBase58(): String
toBytesabstract fun toBytes(): ByteArray