StableArtifactId
org.sigilaris.node.gossip.GossipCursorModel$package.StableArtifactId
object StableArtifactId
Companion for StableArtifactId providing parsing and construction.
Attributes
- Source
- GossipCursorModel.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StableArtifactId.type
Members list
Value members
Concrete methods
Creates a stable artifact id from raw bytes.
Creates a stable artifact id from raw bytes.
Value parameters
- bytes
-
the byte content
Attributes
- Returns
-
the id, or an error if empty
- Source
- GossipCursorModel.scala
Parses a hex-encoded stable artifact id.
Parses a hex-encoded stable artifact id.
Value parameters
- value
-
the hex string
Attributes
- Returns
-
the id, or an error message
- Source
- GossipCursorModel.scala
Creates a stable artifact id from raw bytes, throwing on invalid input.
Creates a stable artifact id from raw bytes, throwing on invalid input.
Value parameters
- bytes
-
the byte content
Attributes
- Returns
-
the id
- Throws
-
IllegalArgumentException
if the bytes are empty
- Source
- GossipCursorModel.scala
Parses a hex-encoded stable artifact id, throwing on invalid input.
Parses a hex-encoded stable artifact id, throwing on invalid input.
Value parameters
- value
-
the hex string
Attributes
- Returns
-
the id
- Throws
-
IllegalArgumentException
if the hex is invalid or empty
- Source
- GossipCursorModel.scala
Givens
Givens
Attributes
- Source
- GossipCursorModel.scala
Extensions
Extensions
extension (id: StableArtifactId)
Attributes
- Source
- GossipCursorModel.scala
Attributes
- Source
- GossipCursorModel.scala
In this article