MemoHashProtocol

public protocol MemoHashProtocol : Sendable

Protocol for memos containing hash values with hex encoding capabilities.

  • Returns the hex-encoded string representation of the hash value.

    Declaration

    Swift

    func hexValue() throws -> String
  • Returns the hex-encoded hash value with leading zeros removed.

    Declaration

    Swift

    func trimmedHexValue() throws -> String